Update zshrc and tmux.conf
This commit is contained in:
parent
7cc3092896
commit
327fc29930
|
@ -9,7 +9,7 @@ set-option -g set-titles on
|
||||||
set -g status-keys vi
|
set -g status-keys vi
|
||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
set -g escape-time 0
|
set -g escape-time 0
|
||||||
|
set -g repeat-time 1000
|
||||||
setw -g mouse off
|
setw -g mouse off
|
||||||
|
|
||||||
bind-key v split-window -h
|
bind-key v split-window -h
|
||||||
|
@ -47,6 +47,4 @@ bind -n M-Down select-pane -D
|
||||||
bind -n S-Left previous-window
|
bind -n S-Left previous-window
|
||||||
bind -n S-Right next-window
|
bind -n S-Right next-window
|
||||||
|
|
||||||
set -g repeat-time 1000
|
|
||||||
|
|
||||||
bind r source-file ~/.tmux.conf \; display "Reloading config..."
|
bind r source-file ~/.tmux.conf \; display "Reloading config..."
|
||||||
|
|
13
zshrc
13
zshrc
|
@ -108,9 +108,6 @@ bindkey -v
|
||||||
export PATH=$HOME/local/bin:$PATH
|
export PATH=$HOME/local/bin:$PATH
|
||||||
export PATH=$HOME/bin:$PATH
|
export PATH=$HOME/bin:$PATH
|
||||||
|
|
||||||
# General environment
|
|
||||||
export EDITOR=vim
|
|
||||||
|
|
||||||
# set up asdf (must be after paths)
|
# set up asdf (must be after paths)
|
||||||
. $HOME/.asdf/asdf.sh
|
. $HOME/.asdf/asdf.sh
|
||||||
|
|
||||||
|
@ -120,6 +117,16 @@ git config --global alias.ci commit
|
||||||
git config --global alias.st status
|
git config --global alias.st status
|
||||||
git config --global alias.br branch
|
git config --global alias.br branch
|
||||||
|
|
||||||
|
# Other aliases
|
||||||
|
|
||||||
|
# recursive grep with line numbers and colour, ignoring binary files:
|
||||||
|
alias gnr="grep -nR -I --color"
|
||||||
|
# same but case-insensitive:
|
||||||
|
alias gnri="grep -nRi -I --color"
|
||||||
|
|
||||||
|
# Postgres default user:
|
||||||
|
export PGUSER=postgres
|
||||||
|
|
||||||
# On boot, power on bluetooth and start xfce
|
# On boot, power on bluetooth and start xfce
|
||||||
if [ $(tty) = "/dev/tty1" ]; then
|
if [ $(tty) = "/dev/tty1" ]; then
|
||||||
bluetoothctl power on
|
bluetoothctl power on
|
||||||
|
|
Loading…
Reference in New Issue