forked from lrvick/dotfiles
update tmux and zsh configs
This commit is contained in:
parent
e07435336b
commit
ce792dbb2f
|
@ -5,3 +5,7 @@ run-shell "powerline-daemon -q"
|
|||
source "/usr/share/powerline/bindings/tmux/powerline.conf"
|
||||
|
||||
# vim: ft=tmux
|
||||
|
||||
# Fix coloring
|
||||
set-option -g default-terminal "xterm-256color"
|
||||
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
21
zsh/.zshrc
21
zsh/.zshrc
|
@ -5,7 +5,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
export DEFAULT_USER="lrvick"
|
||||
export DEFAULT_USER="anton"
|
||||
export DISABLE_AUTO_UPDATE="true"
|
||||
export COMPLETION_WAITING_DOTS="true"
|
||||
export HISTFILE=~/.zsh_history
|
||||
|
@ -20,3 +20,22 @@ source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
|||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
GPG_TTY=$(tty)
|
||||
export GPG_TTY
|
||||
|
||||
# Aliases
|
||||
alias gib='git branch'
|
||||
alias gis='git status'
|
||||
alias gpoh='git push origin HEAD'
|
||||
|
||||
# Bindkeys
|
||||
bindkey '^R' history-incremental-search-backward # ctrl + shift + r -> Reverse search
|
||||
bindkey '^A' beginning-of-line # ctrl + a -> Move to start of line
|
||||
bindkey '^E' end-of-line # ctrl + e -> Move to end of line
|
||||
bindkey '^[[1;5D' backward-word # ctrl + left arrow -> Move back one word
|
||||
bindkey '^[[1;5C' forward-word # Ctrl + right arrow -> Move forward one word
|
||||
|
||||
# Color different file types
|
||||
export LS_COLORS=$(dircolors -b)
|
||||
alias ls='ls --color=auto'
|
||||
|
|
Loading…
Reference in New Issue