mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-06 01:34:22 +00:00
Remove 'update' alias from .aliases_arch and .aliases_ubuntu; clean up .zshrc by removing Golang and Conda setup
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
|
||||
alias cat='bat'
|
||||
alias update='yay -Syu'
|
||||
@@ -1,2 +1 @@
|
||||
alias cat='batcat'
|
||||
alias update='sudo apt-get update && sudo apt-get upgrade'
|
||||
|
||||
18
.zshrc
18
.zshrc
@@ -3,11 +3,6 @@ source $HOME/.aliases
|
||||
# Set $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
|
||||
export HISTFILE=$HOME/.zsh_history
|
||||
export HISTSIZE=15000 # keep 15,000 lines in memory
|
||||
@@ -30,19 +25,6 @@ else
|
||||
source $HOME/.aliases_ubuntu
|
||||
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
|
||||
|
||||
lazynvm() {
|
||||
|
||||
Reference in New Issue
Block a user