Suppress or Customize Intro Message in Fish Shell
Found that the greeting message is set in fishd.Machine.local. To override the following to ~/.config/fish/config.fish: set fish_greeting
Found that the greeting message is set in fishd.Machine.local. To override the following to ~/.config/fish/config.fish: set fish_greeting
1. sudo nano /etc/shells 2. add /usr/local/bin/fish to your list of shells 3. chsh -s /usr/local/bin/fish
Just use alias. Here’s a basic example: # Define alias in shell alias rmi “rm -i” # Define alias in config file ( `~/.config/fish/config.fish` ) alias rmi=”rm -i” # This is equivalent to entering the following function: function rmi rm -i $argv end # Then, to save it across terminal sessions: funcsave rmi This last … Read more