Added tmux and moved pure to brew

This commit is contained in:
2021-12-24 17:40:15 -05:00
parent f22005c87c
commit 1e2329e3d8
4 changed files with 73 additions and 4 deletions

View File

@@ -32,10 +32,10 @@ zsh_add_file "zsh-exports"
# Plugins
zsh_add_plugin "zsh-users/zsh-autosuggestions"
zsh_add_plugin "zsh-users/zsh-syntax-highlighting"
zsh_add_plugin "sindresorhus/pure"
#zsh_add_plugin "sindresorhus/pure"
# Prompt
fpath+="$ZDOTDIR/plugins/pure"
# Prompt / managed by brew. (`brew install pure`)
#fpath+="$ZDOTDIR/plugins/pure"
autoload -U promptinit; promptinit
prompt pure

View File

@@ -8,7 +8,13 @@
# clear the terminal
alias cl() { clear }
alias cl() {
if [[ "$TMUX_PANE" ]]; then
tmux send-keys -R\; clear-history
else
clear
fi
}
# move into the ~/.dotfiles directory
alias cdots() { cd "$HOME/.dotfiles" }
@@ -52,3 +58,5 @@ if [ $(hostname -s) = "Michaels-Mac-mini" ]; then
alias projects() { cd "/Volumes/M1 Mac-Mini External Drive/Projects" }
fi
# tmux
#alias ta() { tmux -f ~/.config/tmux/tmux.config attach "$@" }