LoginSignup
6
0

More than 1 year has passed since last update.

fishのaliasを設定

Posted at

設定ファイル作成、移動

touch ./.config/fish/config.fish
vim ./.config/fish/config.fish

設定

自分の設定はこんな感じです。
もっといい感じの設定があったら教えていただきたいです。

#Git
alias g='git'
alias gb='git branch'
alias gc='git commit'
alias gc='git checkout'
alias ga='git add'
alias gp='git push'

#Fish

alias hs='history search'
alias ths='thistory search'


保存

. ./.config/fish/config.fish

次回からも使用できるようにする

funcsave fish_config
6
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
0