X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/bfbd0519921f338c624addaa845dab3a633c3e02..0ca7cf361de9a1a40709ae7eaf9dbd77ad105694:/etc/zsh/.zshrc diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index 8fa153d..f8d9843 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -22,12 +22,6 @@ export SAVEHIST=1000 export PYTHONSTARTUP=${XDG_CONFIG_HOME:-~/.config}/pythonrc ## vim export VIMINIT='let$MYVIMRC=($XDG_CONFIG_HOME??($HOME."/.config"))."/vim/.vimrc"|execute"source"$MYVIMRC' -## wayland/gui env -export XDG_SESSION_TYPE=${XDG_SESSION_TYPE:-wayland} -export QT_QPA_PLATFORM=${QT_QPA_PLATFORM:-wayland-egl} -export QT_WAYLAND_DISABLE_WINDOWDECORATION=${QT_WAYLAND_DISABLE_WINDOWDECORATION:--1} -export SDL_VIDEODRIVER=${SDL_VIDEODRIVER:-wayland} -export TERMINAL=${TERMINAL:-$(whence -p konsole footclient urxvt xterm)[(f)1]} ### imports autoload -Uz zmv @@ -257,6 +251,7 @@ unset ps alias gd='git diff' alias gdh='git diff HEAD' alias ga='git add' +alias ga.='git add .' alias gc='git commit' alias gca='git commit --amend' alias gp='git push' @@ -271,6 +266,7 @@ if [[ -v commands[zoxide] ]] { eval "${$(zoxide init zsh):s#_files -/#_cd#}" alias cd=z } +alias cd..=up ## dotfiles alias dfu='d=${$(echo ~/.zshenv):P:h:h};GIT_DIR=$d/.git GIT_WORK_TREE=$d git pull'