From 0ca7cf361de9a1a40709ae7eaf9dbd77ad105694 Mon Sep 17 00:00:00 2001 From: sev Date: Tue, 19 Dec 2023 10:28:00 -0600 Subject: [PATCH] zshrc: add typo aliases for `cd ..' and `ga .' --- etc/zsh/.zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index 716ca79..f8d9843 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -251,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' @@ -265,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' -- 2.47.0