Skip to content

Instantly share code, notes, and snippets.


Charles Hawley crh0831

View GitHub Profile

BASH Challenges

  1. Check for the presence of a directory and create it if it doesn't exist

    Example Solution

    if [[ ! -d "${devdir}" ]]; then
crh0831 / Problem with home, end and del keys under
Created May 2, 2019
zshrc keybindings for <HOME> <END> cluster
View Problem with home, end and del keys under

from Problem with home, end and del keys under zsh

bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
bindkey "\e[5~" beginning-of-history
bindkey "\e[6~" end-of-history
bindkey "\e[3~" delete-char
bindkey "\e[2~" quoted-insert
bindkey "\e[5C" forward-word
bindkey "\eOc" emacs-forward-word
View config.yaml
directory: /mnt/chawley/Music
library: /home/chawley/musiclibrary.blb
# write metadata to music files
write: yes
# move imported files from source to the music directory
move: yes
copy: no

Keybase proof

I hereby claim:

  • I am crh0831 on github.
  • I am chawley ( on keybase.
  • I have a public key ASBtlfHbu5bxrIM2dwud_vA1z8xVqlSlJlO1Ia8_eUUreAo

To claim this, I am signing this object: