Update
This commit is contained in:
27
.zshrc
27
.zshrc
@@ -19,6 +19,7 @@ plugins=(
|
||||
archlinux
|
||||
docker
|
||||
docker-compose
|
||||
fzf
|
||||
git
|
||||
systemd
|
||||
vagrant
|
||||
@@ -27,11 +28,35 @@ plugins=(
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
bindkey '^R' history-incremental-pattern-search-backward
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
source ~/.bash_aliases
|
||||
fi
|
||||
eval $(thefuck --alias)
|
||||
|
||||
ranger() {
|
||||
if [ -z "$RANGER_LEVEL" ]; then
|
||||
/usr/bin/ranger "$@"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
alias start_gnome='XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session'
|
||||
|
||||
# >>> mamba initialize >>>
|
||||
# !! Contents within this block are managed by 'mamba init' !!
|
||||
export MAMBA_EXE="/usr/bin/micromamba";
|
||||
export MAMBA_ROOT_PREFIX="/home/rhiobet/micromamba";
|
||||
__mamba_setup="$('/usr/bin/micromamba' shell hook --shell zsh --prefix '/home/rhiobet/micromamba' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__mamba_setup"
|
||||
else
|
||||
if [ -f "/home/rhiobet/micromamba/etc/profile.d/micromamba.sh" ]; then
|
||||
. "/home/rhiobet/micromamba/etc/profile.d/micromamba.sh"
|
||||
else
|
||||
export PATH="/home/rhiobet/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
|
||||
fi
|
||||
fi
|
||||
unset __mamba_setup
|
||||
# <<< mamba initialize <<<
|
||||
|
||||
Reference in New Issue
Block a user