add fisherman install section

This commit is contained in:
Rico Ullmann 2016-04-24 15:49:07 +02:00
parent 602409beed
commit a9a51e7d82
1 changed files with 26 additions and 20 deletions

View File

@ -5,10 +5,16 @@ Small collection of functions I'm using with the [fish shell](https://fishshell.
## installation
You can install the functions with [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish):
You can install with [fisherman](https://github.com/fisherman/fisherman):
<pre>
omf install git@github.com:rullmann/fish-aliases.git
fisher https://github.com/rullmann/fish-aliases
</pre>
Or with [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish):
<pre>
omf install git@github.com:rullmann/fish-aliases.git
</pre>
## aliases / functions description
@ -23,22 +29,22 @@ Fixed!
From time to time I need to find folders which are taking much to many space. Here's the solution:
<pre>
┌ rullmann@foobar /tmp/test
└ $ ds
1.0M 2
6.2M 1
617M 3
┌ rullmann@foobar /tmp/test
└ $ ds
1.0M 2
6.2M 1
617M 3
┌ rullmann@foobar ~
└ $ ds /var/log/
1.3M /var/log/asl/Logs
2.0M /var/log/powermanagement
2.2M /var/log/module/com.apple.cdscheduler
3.8M /var/log/module/com.apple.ical
6.5M /var/log/module
19M /var/log/DiagnosticMessages
95M /var/log/asl
151M /var/log/
┌ rullmann@foobar ~
└ $ ds /var/log/
1.3M /var/log/asl/Logs
2.0M /var/log/powermanagement
2.2M /var/log/module/com.apple.cdscheduler
3.8M /var/log/module/com.apple.ical
6.5M /var/log/module
19M /var/log/DiagnosticMessages
95M /var/log/asl
151M /var/log/
</pre>
### psgrep - show matching processes for $argv
@ -46,9 +52,9 @@ From time to time I need to find folders which are taking much to many space. He
Typing `ps aux | grep $arg` has come to an end:
<pre>
┌ rullmann@foobar ~
└ $ psgrep fish
rullmann 95421 0.1 0.0 2500916 4660 s010 S 2:26PM 0:03.41 fish
┌ rullmann@foobar ~
└ $ psgrep fish
rullmann 95421 0.1 0.0 2500916 4660 s010 S 2:26PM 0:03.41 fish
</pre>
### nsgrep - show open ports for $argv