Skip to content

Instantly share code, notes, and snippets.

Avatar

Kurtis Rader krader1961

View GitHub Profile
@krader1961
krader1961 / mcd.fish
Created May 17, 2017
example of how to do the equivalent of the `select` command in fish
View mcd.fish
# Provide a menu of the directories recently navigated to and ask the user to
# choose one to make the new current working directory (cwd).
function mcd --description "Menu based cd command"
set -l all_dirs $dirprev $dirnext
if not set -q all_dirs[1]
echo (_ 'No previous directories to select. You have to cd at least once.')
return 0
end
View keybase.md

Keybase proof

I hereby claim:

  • I am krader1961 on github.
  • I am krader (https://keybase.io/krader) on keybase.
  • I have a public key whose fingerprint is 4E4A DD87 6166 8FFC A96C 5334 DC59 B74A BCD1 3629

To claim this, I am signing this object:

You can’t perform that action at this time.