Posts Tagged With: fish

Fish Shell Command History Meme

Tagged with: , , , , , , , ,

Use this command if you want to know your command usage stats in the fish shell.


grep -v "^\#" ".config/fish/fish_history"|awk '{print $1}'|sort|uniq -c|sort -rn|head -n10
No Comments »

Fish Alias/Function Location

Tagged with: , , , , , ,

The alias/function of the fish shell are stored at ‘/home/username/.config/fish/functions’

No Comments »

Creating an Alias in fish shell

Tagged with: , , , , , ,

Fish shell has an easy method to create a command alias…


alias del='rm'
save_function del
No Comments »

Create a Permanent Alias in Fish Shell

Tagged with: , , , , ,

This is how you create a permanent alias is fish


alias x='exit'
save_function x
1 Comment »