From 3aae198ce5de0c14b72d6b12cf1808863750455e Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sun, 8 Aug 2021 23:52:11 +0200 Subject: [PATCH] bin: remove tmux wrapper script Going back to the alias solution, which works for both bash and zsh, to avoid having to search through the path for the real tmux after I remove the leading comma from my custom command names. --- bin/,tmux | 3 --- files/aliases.sh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100755 bin/,tmux diff --git a/bin/,tmux b/bin/,tmux deleted file mode 100755 index cc279a4..0000000 --- a/bin/,tmux +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -exec tmux -f "$XDG_CONFIG_HOME/tmux/tmux.conf" "$@" - diff --git a/files/aliases.sh b/files/aliases.sh index c4441de..64487f8 100644 --- a/files/aliases.sh +++ b/files/aliases.sh @@ -36,6 +36,8 @@ alias grep="grep --color=auto" alias egrep="egrep --color=auto" alias fgrep="fgrep --color=auto" +alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" + if command -v nvim >/dev/null 2>&1; then alias vim="nvim" alias vimdiff="nvim -d"