Skip to content

Instantly share code, notes, and snippets.


Kurtis Rader krader1961

View GitHub Profile
krader1961 /
Created May 17, 2017
example of how to do the equivalent of the `select` command in 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

Keybase proof

I hereby claim:

  • I am krader1961 on github.
  • I am 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.