Aliases for cd
Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?
Start file
alias c.='cd ..'
End file
alias c.='cd ..' alias c..='cd ../..' alias c...='cd ../../..' alias c....='cd ../../../..' alias c.....='cd ../../../../..' alias c1='cd ..' alias c2='cd ../..' alias c3='cd ../../..' alias c4='cd ../../../..' alias c5='cd ../../../../..'
View Diff
1a2,11 > alias c..='cd ../..' > alias c...='cd ../../..' > alias c....='cd ../../../..' > alias c.....='cd ../../../../..' > > alias c1='cd ..' > alias c2='cd ../..' > alias c3='cd ../../..' > alias c4='cd ../../../..' > alias c5='cd ../../../../..'
Solutions by @zk_evm:
Unlock 1 remaining solutions by signing in and submitting your own entry