summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2024-06-17 23:06:56 +0530
committerBrahmajit Das <brahmajit.xyz@gmail.com>2024-06-17 23:06:56 +0530
commit6ee3405e66c4106324355f4cc7e2fdfad1c17aea (patch)
tree6858272b2b035500a13019a74f82ec6142c7c6f6
parenta2961217be50283948ac778aedd386e14227f9d0 (diff)
zsh: completion: use aliases for easier directory change
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r--.config/zsh/aliases.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh
index bc355b0..9696b1f 100644
--- a/.config/zsh/aliases.zsh
+++ b/.config/zsh/aliases.zsh
@@ -12,6 +12,10 @@ alias less='less -x4RFsX'
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias chkspeed='wget http://speedtest.tele2.net/1GB.zip -O /dev/null'
alias sd="cd ~ && cd \$(fd -t d --hidden | fzf)"
+alias ..="cd .."
+alias ...="cd ../.."
+alias ....="cd ../../.."
+alias .....="cd ../../../.."
export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink