From 6da84609d0e16997d8e2a73157285f22ae33cf1d Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Mon, 19 Dec 2016 12:56:24 +0100 Subject: [PATCH] Add aliases --- tmux/tmux.conf | 2 +- zsh/aliases.zsh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 zsh/aliases.zsh diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 778ae61..8923ac6 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -56,7 +56,7 @@ set-option -g set-titles-string "#T - #W" bind r source-file ~/.tmux.conf \; display "Config Reloaded!" # quickly open a new window -bind N new-window +bind N new-window -c "#{pane_current_path}" # split window and fix path for tmux 1.9 bind | split-window -h -c "#{pane_current_path}" diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh new file mode 100644 index 0000000..a6e3c42 --- /dev/null +++ b/zsh/aliases.zsh @@ -0,0 +1,10 @@ +# in case its not already thera +alias la='ls -la' + +# GIT related +alias gs='git status' +alias gfr='git fetch && git rebase' +alias gl='git log' +alias gc='git commit ' +alias ga='git add ' +