diff --git a/bash/.bashrc b/bash/.bashrc index 59bb9f8..7142ce4 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -7,6 +7,11 @@ fi alias python="python3" alias grep="grep --color=auto" +alias ..="cd .." +alias ...="cd ../.." +alias ....="cd ../../.." +alias .....="cd ../../../.." + if [[ -f "$HOME/.local/bin/scripts/check_aliases" ]]; then . "$HOME/.local/bin/scripts/check_aliases" fi @@ -28,4 +33,3 @@ fi if command -v starship &>/dev/null; then eval "$(starship init bash)" fi - diff --git a/zsh/.zshrc b/zsh/.zshrc index 811b8ed..3a32648 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -131,6 +131,12 @@ done alias python="python3" alias grep="grep --color=auto" +alias ..="cd .." +alias ...="cd ../.." +alias ....="cd ../../.." +alias .....="cd ../../../.." + + if [[ -f ~/.local/bin/scripts/check_aliases ]]; then . ~/.local/bin/scripts/check_aliases fi