1
0

Tidy up quoting

This commit is contained in:
2025-05-11 10:20:08 +01:00
parent 3ba18b2def
commit 39d4ad6a0f

View File

@@ -120,22 +120,22 @@ if [ -f ~/.bash_aliases-local ]; then
. ~/.bash_aliases-local . ~/.bash_aliases-local
fi fi
eval "$($HOME/.dotfiles/starship-`uname -m` init bash)" eval "$("$HOME/.dotfiles/starship-$(uname -m)" init bash)"
if [ -r "$HOME/.dotfiles/nvim-linux-`uname -m`/bin/nvim" ] if [ -r "$HOME/.dotfiles/nvim-linux-$(uname -m)/bin/nvim" ]
then then
( (
cd $HOME/.dotfiles/nvim-linux-`uname -m`/bin cd "$HOME/.dotfiles/nvim-linux-$(uname -m)/bin"
test -x vi || ln -s nvim vi test -x vi || ln -s nvim vi
) )
PATH="$HOME/.dotfiles/nvim-linux-`uname -m`/bin:$PATH" PATH="$HOME/.dotfiles/nvim-linux-$(uname -m)/bin:$PATH"
fi fi
export MANPAGER='nvim +Man!' export MANPAGER='nvim +Man!'
test -r $HOME/.bashrc-local && . $HOME/.bashrc-local [ -r "$HOME/.bashrc-local" ] && . "$HOME/.bashrc-local"
if [ -z "$SUDO_USER" -a -z "$TMUX" ] if [ "$SUDO_USER" == "" ] && [ "$TMUX" == "" ]
then then
tmux attach-session -t default || tmux new-session -s default tmux attach-session -t default || tmux new-session -s default
fi fi