From 808c0890ab6b0e7f357474688a9deaf8833aa4f4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 25 Jan 2023 03:53:08 +0100 Subject: bash: add aliases for cd .. Can't believe I thought it wasn't possible before. --- %HOME%/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '%HOME%') 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 ' -- cgit v1.2.3