22 lines
442 B
Fish
22 lines
442 B
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
|
|
end
|
|
|
|
|
|
if status is-interactive
|
|
alias ls="eza --icons --group-directories-first"
|
|
|
|
function __ls_after_cd --on-variable PWD
|
|
ls
|
|
end
|
|
|
|
# Commands to run in interactive sessions can go here
|
|
end
|
|
|
|
zoxide init fish --cmd cd | source
|