diff --git a/sh/.config/sh/alias b/sh/.config/sh/alias index cf6e588..0a6cb5b 100644 --- a/sh/.config/sh/alias +++ b/sh/.config/sh/alias @@ -31,6 +31,8 @@ alias ..="cd .." alias ...="cd ../.." alias ~="cd ~" +alias md="mkdir -p" + # clear my screen alias cl="clear" diff --git a/tmux/.config/sh/alias.d/tmux.sh b/tmux/.config/sh/alias.d/tmux.sh index a474006..20277a9 100644 --- a/tmux/.config/sh/alias.d/tmux.sh +++ b/tmux/.config/sh/alias.d/tmux.sh @@ -12,10 +12,10 @@ alias tl='tmux list-sessions -F "#{session_name}" 2>/dev/null' # fzf if exist fzf; then # fzf select a tmux session to connect to, with pane preview - alias tm='fzf_tmux' + alias tm='fzf_tmux_session' fi -fzf_tmux() { +fzf_tmux_session() { if [ -z "$1" ]; then result=$( tl | fzf \