Add layout and note plugins

This commit is contained in:
2018-08-20 10:14:59 +01:00
parent e13e70de6b
commit ada3cb7d3d
6 changed files with 55 additions and 0 deletions

10
layout/layout.plugin.zsh Normal file
View File

@@ -0,0 +1,10 @@
layout() {
if [[ "$1" == "" ]]; then
echo "usage: layout <layout> [name]"
else
tmux source-file ~/.config/tmux/layouts/$1
if [[ "$2" != "" ]]; then
tmux rename-window $2
fi
fi
}