Fish Shell Command History Meme
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
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
The alias/function of the fish shell are stored at ‘/home/username/.config/fish/functions’
Fish shell has an easy method to create a command alias…
alias del='rm'
save_function del
This is how you create a permanent alias is fish…
alias x='exit'
save_function x