move local zsh

This commit is contained in:
Christoph J. Scherr 2023-11-27 12:49:11 +01:00
parent ef10199b18
commit 1997f8abcf
1 changed files with 8 additions and 5 deletions

13
.zshrc
View File

@ -34,11 +34,6 @@ alias accon="HOST=$(hostname) conda activate"
alias gotemp="cd $(mktemp -d)"
alias cb="flatpak run app.getclipboard.Clipboard"
### non standard aliases
if [ -f ~/.zsh_aliases ]; then
source ~/.zsh_aliases
fi
### Functions
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(M|G|T|P|E)\s" }
@ -215,3 +210,11 @@ unset __conda_setup
# <<< conda initialize <<<
# we don't want to see (base) constantly, so we do this:
PS1=$(echo $PS1 | sed 's/(base) //') # remove base
### load unversioned zsh code
if [ -f ~/.zsh.local ]; then
source ~/.zsh.local
else
touch ~/.zsh.local
fi