fix shells
This commit is contained in:
parent
3183d4ac1a
commit
48763b4d7a
@ -6,17 +6,12 @@ command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
|||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
|
||||||
export WORKON_HOME=~/rl/_envs/
|
export WORKON_HOME=~/rl/_envs/
|
||||||
pyenv virtualenvwrapper
|
|
||||||
|
|
||||||
export PATH=/Users/tyrel/bin/:$PATH
|
export PATH=/Users/tyrel/bin/:$PATH
|
||||||
source ~/.jobs/redlattice.sh
|
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
|
||||||
eval $(thefuck --alias crap)
|
|
||||||
|
|
||||||
export ANDROID_NDK_HOME="$HOMEBREW_PREFIX/share/android-ndk"
|
export ANDROID_NDK_HOME="$HOMEBREW_PREFIX/share/android-ndk"
|
||||||
|
|
||||||
eval $(thefuck --alias)
|
|
||||||
alias lzd='lazydocker'
|
alias lzd='lazydocker'
|
||||||
export BAT_THEME="Dracula"
|
export BAT_THEME="Dracula"
|
||||||
|
12
home/zshrc
12
home/zshrc
@ -1,4 +1,12 @@
|
|||||||
nitch
|
|
||||||
autoload -Uz promptinit
|
autoload -Uz promptinit
|
||||||
promptinit
|
promptinit
|
||||||
prompt steeef
|
prompt adam2
|
||||||
|
source ~/.shell_aliases
|
||||||
|
source ~/.shell_funcs
|
||||||
|
|
||||||
|
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init -)"
|
||||||
|
|
||||||
|
source ~/.shell_base
|
||||||
|
15
justfile
15
justfile
@ -27,14 +27,25 @@ pyenv:
|
|||||||
pyenv install 3.12.3
|
pyenv install 3.12.3
|
||||||
pyenv global 3.12.3
|
pyenv global 3.12.3
|
||||||
|
|
||||||
|
reset-symlinks:
|
||||||
|
rm /home/{{USER}}/.config/nvim
|
||||||
|
rm /home/{{USER}}/bin
|
||||||
|
rm /home/{{USER}}/.gitconfig
|
||||||
|
rm /home/{{USER}}/.shell_base
|
||||||
|
rm /home/{{USER}}/.p10k.zsh
|
||||||
|
rm /home/{{USER}}/.shell_aliases
|
||||||
|
rm /home/{{USER}}/.shell_funcs
|
||||||
|
|
||||||
symlinks:
|
symlinks:
|
||||||
ln -s {{PWD}}/home/config/nvim /home/{{USER}}/.config/nvim
|
|
||||||
ln -s {{PWD}}/home/bin /home/{{USER}}/bin
|
|
||||||
ln -s {{PWD}}/home/gitconfig /home/{{USER}}/.gitconfig
|
ln -s {{PWD}}/home/gitconfig /home/{{USER}}/.gitconfig
|
||||||
ln -s {{PWD}}/home/shell_base /home/{{USER}}/.shell_base
|
ln -s {{PWD}}/home/shell_base /home/{{USER}}/.shell_base
|
||||||
|
ln -s {{PWD}}/home/p10k.zsh /home/{{USER}}/.p10k.zsh
|
||||||
ln -s {{PWD}}/home/shell_aliases /home/{{USER}}/.shell_aliases
|
ln -s {{PWD}}/home/shell_aliases /home/{{USER}}/.shell_aliases
|
||||||
ln -s {{PWD}}/home/shell_funcs /home/{{USER}}/.shell_funcs
|
ln -s {{PWD}}/home/shell_funcs /home/{{USER}}/.shell_funcs
|
||||||
|
ln -s {{PWD}}/home/bin /home/{{USER}}
|
||||||
|
ln -s {{PWD}}/home/config/nvim /home/{{USER}}/.config/
|
||||||
echo "source ~/.shell_base" >> ~/.bashrc
|
echo "source ~/.shell_base" >> ~/.bashrc
|
||||||
|
echo "source ~/.shell_base" >> ~/.zshrc
|
||||||
|
|
||||||
debian: rust pyenv symlinks
|
debian: rust pyenv symlinks
|
||||||
sudo apt-get install software-properties-common
|
sudo apt-get install software-properties-common
|
||||||
|
Loading…
Reference in New Issue
Block a user