44 lines
1.3 KiB
Fish
44 lines
1.3 KiB
Fish
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|
|
|
if test (tty) = "/dev/tty1"
|
|
set LOG_FOLDER .log/$(date +%Y%m%d)
|
|
mkdir -p $LOG_FOLDER
|
|
syncthing 2>&1 >> $LOG_FOLDER/syncthing.log & disown
|
|
exec driftwm 2>&1 >> $LOG_FOLDER/driftwm.log
|
|
end
|
|
|
|
|
|
if status is-interactive
|
|
alias ls="eza --icons --group-directories-first"
|
|
alias c="clear"
|
|
alias cybervis ="cybervis -m neural -c arctic -s 5 -d 8 --no-status"
|
|
alias watch="watch -twn1"
|
|
alias h="herdr"
|
|
alias z="zeditor"
|
|
alias note="nvim $(mktemp | tee ~/.note) && cat ~/.note"
|
|
alias git_krosh='set origin (git remote get-url origin); and set repo (basename "$origin" .git); and begin; git config --unset-all remote.origin.pushurl; or true; end; and git remote set-url --add --push origin "$origin"; and git remote set-url --add --push origin "git@git.krosh.dev:krosh/$repo.git"; and git push'
|
|
|
|
function __ls_after_cd --on-variable PWD
|
|
ls
|
|
end
|
|
|
|
pfetch
|
|
# Commands to run in interactive sessions can go here
|
|
end
|
|
|
|
zoxide init fish --cmd cd | source
|
|
starship init fish | source
|
|
|
|
set EDITOR nvim
|
|
set PATH $PATH:/home/krosh/.local/bin
|
|
|
|
# Added by LM Studio CLI (lms)
|
|
set -gx PATH $PATH /home/krosh/.lmstudio/bin
|
|
# End of LM Studio CLI section
|
|
|
|
|
|
thefuck --alias | source
|
|
|
|
# Created by `pipx` on 2026-05-18 21:21:55
|
|
set PATH $PATH /home/krosh/.local/bin
|