fix(nnn): zsh completion in /opt
This commit is contained in:
parent
3ea1c77351
commit
16eae75f16
@ -444,12 +444,15 @@ git clone https://github.com/jarun/nnn.git
|
|||||||
cd nnn
|
cd nnn
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
|
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
|
||||||
sudo make PREFIX=/opt/nnn O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
|
|
||||||
|
|
||||||
sudo cp -v misc/auto-completion/zsh/* /usr/local/share/zsh/site-functions
|
sudo cp -v misc/auto-completion/zsh/* /usr/local/share/zsh/site-functions
|
||||||
sudo chmod -v a+r /usr/local/share/zsh/site-functions/*
|
sudo chmod -v a+r /usr/local/share/zsh/site-functions/*
|
||||||
|
|
||||||
|
# into /opt
|
||||||
|
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 PREFIX=/opt/nnn install
|
||||||
|
sudo cp -v misc/auto-completion/zsh/* /opt/zsh/site-functions
|
||||||
|
sudo chmod -v a+r /opt/zsh/site-functions/*
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
mv -v ~/.config/nnn/plugins $HOME/nnn_plugins_$(stat -c %Y ~/.config/nnn/plugins)
|
mv -v ~/.config/nnn/plugins $HOME/nnn_plugins_$(stat -c %Y ~/.config/nnn/plugins)
|
||||||
mkdir -p ~/.config/nnn
|
mkdir -p ~/.config/nnn
|
||||||
|
Loading…
Reference in New Issue
Block a user