Naive fixing of linter errors
This commit is contained in:
parent
21c40fa774
commit
ef73a11e51
27 changed files with 207 additions and 194 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/zsh
|
||||
#
|
||||
# Clone tmux plugin manager if not existing
|
||||
if [[ -z "$TPM_PARENT_DIR" ]]; then
|
||||
TPM_PARENT_DIR=${XDG_CONFIG_HOME:-$HOME/.config}/tmux
|
||||
|
|
@ -7,14 +9,12 @@ if [[ ! -f $TPM_PARENT_DIR/plugins/tpm/tpm ]]; then
|
|||
if [[ ! -d "$TPM_PARENT_DIR" ]]; then
|
||||
mkdir -p "$TPM_PARENT_DIR"
|
||||
fi
|
||||
pushd $TPM_PARENT_DIR
|
||||
cd "$TPM_PARENT_DIR" || exit
|
||||
git clone https://github.com/tmux-plugins/tpm plugins/tpm
|
||||
popd
|
||||
fi
|
||||
|
||||
export TMUX_PLUGIN_MANAGER_PATH=$TPM_PARENT_DIR/plugins
|
||||
alias tmux="tmux -f ${TPM_PARENT_DIR}/tmux.conf"
|
||||
alias tmux="tmux -f "'"${TPM_PARENT_DIR}"'"/tmux.conf"
|
||||
|
||||
unset TPM_PARENT_DIR
|
||||
unset TPM_SUB_DIR
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue