This commit is contained in:
ry
2022-02-01 17:55:36 -08:00
parent 0cbe4c5fc0
commit 8e6c976dc3
3 changed files with 3 additions and 1 deletions

View File

@@ -691,7 +691,7 @@ alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
#+end_src
** zsh_functions
#+begin_src shell :tangle ~/dotfiles/.config/zsh/zsh_functions
# Make directory and CD into it.
# Make directory and CD into i.
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]/) \