move local zsh
This commit is contained in:
parent
ef10199b18
commit
1997f8abcf
13
.zshrc
13
.zshrc
|
@ -34,11 +34,6 @@ alias accon="HOST=$(hostname) conda activate"
|
||||||
alias gotemp="cd $(mktemp -d)"
|
alias gotemp="cd $(mktemp -d)"
|
||||||
alias cb="flatpak run app.getclipboard.Clipboard"
|
alias cb="flatpak run app.getclipboard.Clipboard"
|
||||||
|
|
||||||
### 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" }
|
||||||
function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(M|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 <<<
|
# <<< conda initialize <<<
|
||||||
# we don't want to see (base) constantly, so we do this:
|
# we don't want to see (base) constantly, so we do this:
|
||||||
PS1=$(echo $PS1 | sed 's/(base) //') # remove base
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue