[-] Remove unused conda init
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
if command -v pacman &> /dev/null; then
|
if command -v pacman &> /dev/null; then
|
||||||
|
alias upgrade='sudo pacman -Syu'
|
||||||
alias install='pacman -Sy'
|
alias install='pacman -Sy'
|
||||||
alias uninstall='pacman -Rsn'
|
alias uninstall='pacman -Rsn'
|
||||||
alias listunused='pacman -Qdtq'
|
alias list-unused='pacman -Qdtq'
|
||||||
alias aurinst='yay -S'
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/etc/arch-release" ]; then
|
if [ -f "/etc/arch-release" ]; then
|
||||||
@@ -26,24 +26,6 @@ if [ -f "/etc/arch-release" ]; then
|
|||||||
alias gpg-init="echo 'hi' | gpg --status-fd=2 -bsau E289FAC0DA92DD2B"
|
alias gpg-init="echo 'hi' | gpg --status-fd=2 -bsau E289FAC0DA92DD2B"
|
||||||
alias ibus-init="ibus-daemon -drxR"
|
alias ibus-init="ibus-daemon -drxR"
|
||||||
|
|
||||||
CONDA_PATH="/opt/miniconda3"
|
|
||||||
|
|
||||||
# Conda initialize
|
|
||||||
conda-init() {
|
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
|
||||||
__conda_setup="$("$CONDA_PATH/bin/conda" 'shell.zsh' 'hook' 2> /dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
eval "$__conda_setup"
|
|
||||||
else
|
|
||||||
if [ -f "$CONDA_PATH/etc/profile.d/conda.sh" ]; then
|
|
||||||
. "$CONDA_PATH/etc/profile.d/conda.sh"
|
|
||||||
else
|
|
||||||
export PATH="$CONDA_PATH/bin:$PATH"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
unset __conda_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
# Remove orphan packages
|
# Remove orphan packages
|
||||||
alias autoremove='yay -c'
|
alias autoremove='yay -c'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user