latest config

This commit is contained in:
2026-07-28 17:34:44 +03:00
parent 1de712a83b
commit 34e6a2643f
4 changed files with 36 additions and 10 deletions
+8 -3
View File
@@ -3,15 +3,20 @@ 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
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 cc="cybervis -m neural -c arctic -s 5 -d 8 --no-status"
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