From c852e6f4cee5cb953800a7db658876ff8e4c7a73 Mon Sep 17 00:00:00 2001 From: typebrook Date: Sat, 1 Feb 2020 00:09:05 +0800 Subject: update --- alias | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alias') diff --git a/alias b/alias index 1abaa6e..8882161 100644 --- a/alias +++ b/alias @@ -28,6 +28,10 @@ todo() { fix() { ( which $1 ) && grep -Po 'FIXME.*' $(which $1) } +gicd() { + dir=$(gist $1 | tee /dev/tty | head -1) + [[ -d $dir ]] && cd $dir +} # shell alias src="source $HOME/.$(basename $SHELL)rc" -- cgit v1.2.3-70-g09d2