Created
August 13, 2021 13:24
-
-
Save p-geon/43819cfd9fab31817fa6dfe9d7bef832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "[loading] ~/.zprofile" | |
# ========================================= | |
## hook command: cd -> cd + ls | |
cdls () | |
{ | |
\cd "$@" && ls | |
} | |
# cat as ccat | |
colorcat () | |
{ | |
\ccat "$@" && echo "" | |
} | |
alias cd="cdls" | |
alias cat="colorcat" | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
echo "[loaded] ~/.zprofile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment