mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Added tmux and moved pure to brew
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 "$@" }
|
||||
|
||||
Reference in New Issue
Block a user