install.sh: add mc Nord skin setup
This commit is contained in:
1 parent
37f9a3304c
commit
bd72cc47d7
1 file changed
+5
@@ -5,5 +5,10 @@ DIR="$(cd "$(dirname "$0")" && pwd)"
|
|||||||
ln -sf "$DIR/tmux.conf" ~/.tmux.conf
|
ln -sf "$DIR/tmux.conf" ~/.tmux.conf
|
||||||
ln -sf "$DIR/gitconfig" ~/.gitconfig
|
ln -sf "$DIR/gitconfig" ~/.gitconfig
|
||||||
|
|
||||||
|
mkdir -p ~/.local/share/mc/skins
|
||||||
|
ln -sf "$DIR/mc-nord.ini" ~/.local/share/mc/skins/nord.ini
|
||||||
|
mkdir -p ~/.config/mc
|
||||||
|
grep -q "^skin=" ~/.config/mc/ini 2>/dev/null && sed -i "s/^skin=.*/skin=nord/" ~/.config/mc/ini || echo -e "[Midnight-Commander]\nskin=nord" >> ~/.config/mc/ini
|
||||||
|
|
||||||
echo "source $DIR/aliases.sh" >> ~/.bashrc 2>/dev/null || true
|
echo "source $DIR/aliases.sh" >> ~/.bashrc 2>/dev/null || true
|
||||||
echo "Done. Restart your shell or: source ~/.bashrc"
|
echo "Done. Restart your shell or: source ~/.bashrc"
|
||||||
Reference in new issue
Block a user