aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 03:53:08 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 03:53:14 +0100
commit808c0890ab6b0e7f357474688a9deaf8833aa4f4 (patch)
tree69a1beb1a53bc8389536628f2de23ca6ffdd5031 /%HOME%
parentbash: save more history (diff)
downloadlinux-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 '')
-rw-r--r--%HOME%/.bashrc4
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 '