From d1ff17c2593aabcb684a2fe29010e805b4ce9113 Mon Sep 17 00:00:00 2001 From: Leo Alho Date: Tue, 27 Feb 2024 18:44:37 +0200 Subject: [PATCH] Add .git_aliases, update .tmux.conf, update README to include instr of adding the .git_aliases --- .cfg/README.md | 5 +++++ .git_aliases | 7 +++++++ .tmux.conf | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .git_aliases diff --git a/.cfg/README.md b/.cfg/README.md index 21cbcb9..6f348f4 100644 --- a/.cfg/README.md +++ b/.cfg/README.md @@ -5,3 +5,8 @@ This directory is inspired by this https://www.atlassian.com/git/tutorials/dotfi 1. git init --bare $HOME/.cfg 2. alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' or echo "alias config='usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc 3. config config --local status.showUntrackedFiles no + +## .git_aliases +To use the git aliases in your gitconfig. Add the following lines to your .gitconfig: +[include] + path = ~/.git_aliases, or any other path depending on your $HOME diff --git a/.git_aliases b/.git_aliases new file mode 100644 index 0000000..05dea80 --- /dev/null +++ b/.git_aliases @@ -0,0 +1,7 @@ +[alias] + co = checkout + br = branch + c = commit + a = add + p = push + st = status diff --git a/.tmux.conf b/.tmux.conf index 39b9b07..b76db27 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -7,6 +7,6 @@ set-option -g prefix C-a bind-key C-a send-prefix # Enable mouse control (clickable windows, panes, resizable panes) -# set -g mouse on +set -g mouse on -set -g status-style bg=black,fg=white +set -g status-style bg=white,fg=black