Browse Source

Some work on aliases and keybinds

master
Taylor Bockman 1 year ago
parent
commit
f81c4f1b03
  1. 5
      dotfiles/zsh/aliases.zsh
  2. 7
      dotfiles/zsh/keybinds.zsh
  3. 1
      dotfiles/zsh/zshrc

5
dotfiles/zsh/aliases.zsh

@ -19,6 +19,11 @@ alias k8='kubectl'
# Good overrides
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
# Don't nuke the computer
alias rm='rm -i'

7
dotfiles/zsh/keybinds.zsh

@ -0,0 +1,7 @@
# In here you can define various keybinds for any
# given setup. Just wrap them with the appropriate checks.
# Bind caps lock to escape if `setxkbmap` exists
if type "setxkbmap" > /dev/null; then
setxkbmap -option caps:escape
fi

1
dotfiles/zsh/zshrc

@ -88,6 +88,7 @@ source $symlink_dir/functions.zsh
source $symlink_dir/exports.zsh
source $symlink_dir/initializations.zsh
source $symlink_dir/ps1.zsh
source $symlink_dir/keybinds.zsh
# ZSH syntax highlighting must be sourced last
source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Loading…
Cancel
Save