-
-
Save mischah/8149239 to your computer and use it in GitHub Desktop.
Revisions
-
mischah revised this gist
Dec 27, 2013 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,13 +2,13 @@ Do you spend lots of time doing things like this? ```bash cd this/is/the/path/that/i/want/so/i/type/it/all/out/to/get/whereiwant ``` With z, you could just do this: ```bash z whereiwant ``` @@ -20,13 +20,13 @@ You need [Homebrew](http://brew.sh/) to install und init z in the way it is desc Installing z via your terminal: ```bash brew update brew install z ``` After installing you have to load it via adding the following to your '~/.bash_profile' ```bash # Move next only if `homebrew` is installed if command -v brew >/dev/null 2>&1; then # Load rupa's z if installed -
mischah revised this gist
Dec 27, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,8 @@ With z, you could just do this: z whereiwant ``` See [README](https://github.com/rupa/z) of z for all available options. ---- You need [Homebrew](http://brew.sh/) to install und init z in the way it is described in this gist: -
mischah revised this gist
Dec 27, 2013 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,9 +29,6 @@ After installing you have to load it via adding the following to your '~/.bash_p if command -v brew >/dev/null 2>&1; then # Load rupa's z if installed [ -f $(brew --prefix)/etc/profile.d/z.sh ] && source $(brew --prefix)/etc/profile.d/z.sh fi ``` -
mischah renamed this gist
Dec 27, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,4 +38,4 @@ fi ---- Need more like this? Start exploring dotfiles like [mine](https://github.com/mischah/dotfiles) which are based on the [famous ones](https://github.com/mathiasbynens/dotfiles) from [@mathiasbynens](https://twitter.com/mathias) -
mischah revised this gist
Dec 27, 2013 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,10 +27,15 @@ After installing you have to load it via adding the following to your '~/.bash_p ``` # Move next only if `homebrew` is installed if command -v brew >/dev/null 2>&1; then # Load rupa's z if installed [ -f $(brew --prefix)/etc/profile.d/z.sh ] && source $(brew --prefix)/etc/profile.d/z.sh # If possible, add tab completion for many more commands [ -f $(brew --prefix)/etc/bash_completion ] && source $(brew --prefix)/etc/bash_completion fi ``` ---- Need more like this? Start exploring dotfiles like [mine](https://github.com/mischah/dotfiles) which are based on the [famous ones](https://github.com/mathiasbynens/dotfiles) from @mathiasbynens -
mischah revised this gist
Dec 27, 2013 . 3 changed files with 1 addition and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ brew install z After installing you have to load it via adding the following to your '~/.bash_profile' ``` # Move next only if `homebrew` is installed if command -v brew >/dev/null 2>&1; then \# Load rupa's z if installed [ -f $(brew --prefix)/etc/profile.d/z.sh ] && source $(brew --prefix)/etc/profile.d/z.sh -
mischah revised this gist
Dec 27, 2013 . 1 changed file with 36 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ #The power of z Do you spend lots of time doing things like this? ``` cd this/is/the/path/that/i/want/so/i/type/it/all/out/to/get/whereiwant ``` With z, you could just do this: ``` z whereiwant ``` ---- You need [Homebrew](http://brew.sh/) to install und init z in the way it is described in this gist: Installing z via your terminal: ``` brew update brew install z ``` After installing you have to load it via adding the following to your '~/.bash_profile' ``` \# Move next only if `homebrew` is installed if command -v brew >/dev/null 2>&1; then \# Load rupa's z if installed [ -f $(brew --prefix)/etc/profile.d/z.sh ] && source $(brew --prefix)/etc/profile.d/z.sh # If possible, add tab completion for many more commands [ -f $(brew --prefix)/etc/bash_completion ] && source $(brew --prefix)/etc/bash_completion fi ``` -
mischah revised this gist
Dec 27, 2013 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # Move next only if `homebrew` is installed if command -v brew >/dev/null 2>&1; then # Load rupa's z if installed [ -f $(brew --prefix)/etc/profile.d/z.sh ] && source $(brew --prefix)/etc/profile.d/z.sh fi -
mischah created this gist
Dec 27, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ brew update brew install z