WIP: Switch to NixOS #5
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# install zinit if it's not already installed
|
# install zinit if it's not already installed
|
||||||
if [ ! -f ~/.zinit/bin/zinit.zsh ]; then
|
if [ ! -f ~/.zinit/bin/zinit.zsh ]; then
|
||||||
mkdir ~/.zinit
|
mkdir ~/.zinit
|
||||||
git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin
|
git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.zinit/bin/zinit.zsh
|
source ~/.zinit/bin/zinit.zsh
|
||||||
|
@ -48,4 +48,7 @@ source /usr/share/fzf/completion.zsh
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
# enable https://github.com/nvbn/thefuck
|
# enable https://github.com/nvbn/thefuck
|
||||||
|
{%@@ if distro_id == "termux" @@%}
|
||||||
|
eval $(TF_SHELL=zsh thefuck --alias)
|
||||||
|
{%@@ else @@%}
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue