Remove 'update' alias from .aliases_arch and .aliases_ubuntu; clean up .zshrc by removing Golang and Conda setup

This commit is contained in:
2025-09-27 20:01:27 +02:00
parent d476414195
commit 37ed505aba
3 changed files with 0 additions and 20 deletions

View File

@@ -1,3 +1,2 @@
alias cat='bat' alias cat='bat'
alias update='yay -Syu'

View File

@@ -1,2 +1 @@
alias cat='batcat' alias cat='batcat'
alias update='sudo apt-get update && sudo apt-get upgrade'

18
.zshrc
View File

@@ -3,11 +3,6 @@ source $HOME/.aliases
# Set $PATH # Set $PATH
export PATH=$HOME/bin:$PATH export PATH=$HOME/bin:$PATH
# Set Golang
export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/Projects/golang
export PATH=$PATH:$GOPATH/bin
# History # History
export HISTFILE=$HOME/.zsh_history export HISTFILE=$HOME/.zsh_history
export HISTSIZE=15000 # keep 15,000 lines in memory export HISTSIZE=15000 # keep 15,000 lines in memory
@@ -30,19 +25,6 @@ else
source $HOME/.aliases_ubuntu source $HOME/.aliases_ubuntu
fi fi
# Conda
__conda_setup="$('/home/matus/bin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/matus/bin/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/matus/bin/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/matus/bin/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# Node Version Manager # Node Version Manager
lazynvm() { lazynvm() {