4 ms·
I have one that takes an optional numeric arg for the number of times to repeat. Surprisingly useful, but I still keep meaning to get round to making a nicer in
by shabble 8y ago
I have one that takes an optional numeric arg for the number of times to repeat. Surprisingly useful, but I still keep meaning to get round to making a nicer interactive one with fzf or something.
$ alias ..
..=up
$ type -f up
up () {
local tmp_path=''
for i in $(seq 1 ${1:-1})
do
tmp_path+='../'
done
cd "$tmp_path"
}