Skip to content

Instantly share code, notes, and snippets.

@belchior
Last active February 11, 2019 15:37
Show Gist options
  • Save belchior/a643a606d21a7aae0aab to your computer and use it in GitHub Desktop.
Save belchior/a643a606d21a7aae0aab to your computer and use it in GitHub Desktop.
# Fish alias
function findg; find . -type f | grep $argv; end;
function gti; git $argv; end;
function gtt; git status $argv; end;
function gtag; git tag -l | sort -V $argv; end;
function ll; ls -thrAl $argv; end;
function mymod; sudo chmod -R ugo-rwx,u+wrX,go+rX $argv; end;
function www; cd /home/{$USER}/www/; end;
@belchior
Copy link
Author

belchior commented Jan 2, 2018

Download and install

curl -sL https://gist.githubusercontent.com/belchior/a643a606d21a7aae0aab/raw/alias.fish  >> ~/.config/fish/config.fish

Reload your config

source ~/.config/fish/config.fish

That's it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment