User mark #name to set jump #name to jump to
see: http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html
export MARKPATH=$HOME/.marks
function jump {
| Installation. | |
| Type the following command in the terminal: | |
| $ curl 'https://raw.github.com/authy/authy-ssh/master/authy-ssh' -o authy-ssh | |
| $ sudo bash authy-ssh install /usr/local/bin | |
| Then enable two-factor for your user: | |
| $ sudo /usr/local/bin/authy-ssh enable `whoami` <your-email> <your-country-code> <your-cellphone> | |
| Test everything is working: |
| Installation. | |
| $ curl 'https://raw.github.com/authy/authy-ssh/master/authy-ssh' -o authy-ssh | |
| $ sudo bash authy-ssh install /usr/local/bin | |
| $ sudo /usr/local/bin/authy-ssh enable `whoami` <your-email> <your-country-code> <your-cellphone> | |
| $ authy-ssh test | |
| $ sudo service ssh restart |
User mark #name to set jump #name to jump to
see: http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html
export MARKPATH=$HOME/.marks
function jump {
| #!/bin/sh | |
| # Check commits for trailing spaces, tabs at the begging of file | |
| # and bad merges | |
| # Save on .git/hooks/pre-commit | |
| # Make file executable | |
| if git rev-parse --verify HEAD 2>/dev/null | |
| then |
I hereby claim:
To claim this, I am signing this object: