dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 296324a653a1da3e95f0d39acb6bb5902b38fceb
parent a68e6ef733b4aaa15ef708134465c86d175d0354
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 23 Apr 2020 14:16:56 +0200

Add missing symbol in substitution rules for tsplit

Diffstat:
M.profile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.profile b/.profile @@ -111,7 +111,7 @@ tsplit() { echo "error: not in tmux session" >&2 return 1 fi - for i in $(jot "${2-1}"); do + for i in $(jot "${2:-1}"); do if [ $# -eq 0 ] || [ "$1" = "l" ]; then tmux split-pane -h -c "$PWD" elif [ "$1" = "j" ]; then