added bunch of stuff
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# ~ Move files to trash folder instead ~ #
|
||||
del () { mv "$@" $HOME/.local/share/trash/files/.; }
|
||||
|
||||
# Make directory and CD into it.
|
||||
mk () { mkdir -p -- "$1" && cd -P -- "$1" }
|
||||
mkcd () { mkdir -p -- "$1" && cd -P -- "$1" }
|
||||
|
||||
ls-awk () { ls -l --color=always | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/) \
|
||||
*2^(8-i));if(k)printf("%0o ",k);print}' }
|
||||
|
||||
Reference in New Issue
Block a user