support local alias

This commit is contained in:
Christoph J. Scherr 2023-09-06 14:29:27 +02:00
parent b95f8519a9
commit 9250864f5d
1 changed files with 5 additions and 1 deletions

6
.zshrc
View File

@ -23,7 +23,11 @@ alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
alias gg=lazygit alias gg=lazygit
alias reload="source ~/.zshrc" alias reload="source ~/.zshrc"
alias gls=/bin/ls alias gls=/bin/ls
alias fd=fdfind
### non standard aliases
if [ -f ~/.zsh_aliases ]; then
source ~/.zsh_aliases
fi
### Functions ### Functions
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" } function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }