diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 03:53:08 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 03:53:14 +0100 |
commit | 808c0890ab6b0e7f357474688a9deaf8833aa4f4 (patch) | |
tree | 69a1beb1a53bc8389536628f2de23ca6ffdd5031 /%HOME% | |
parent | bash: save more history (diff) | |
download | linux-home-808c0890ab6b0e7f357474688a9deaf8833aa4f4.tar.gz linux-home-808c0890ab6b0e7f357474688a9deaf8833aa4f4.zip |
bash: add aliases for cd ..
Can't believe I thought it wasn't possible before.
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 628cec3..c3fd29f 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -31,6 +31,10 @@ shopt -s histappend shopt -s nullglob shopt -s nocaseglob +alias ..='cd ..' +alias ...='cd ../..' +alias ....='cd ../../..' + # Make aliases work with sudo: alias sudo='sudo ' |