Skip to content

Instantly share code, notes, and snippets.

@gawaooooo
Created January 14, 2019 09:47
Show Gist options
  • Save gawaooooo/ce52cae63b9fb617c01f3efc0e0fc604 to your computer and use it in GitHub Desktop.
Save gawaooooo/ce52cae63b9fb617c01f3efc0e0fc604 to your computer and use it in GitHub Desktop.
config fish
# git alias
balias g git
# NVM
set -gx nvm_prefix /usr/local/opt/nvm
# GO
# set the workspace path
set -x GOPATH $HOME/go
# add the go bin path to be able to execute our programs
set -x PATH $PATH /usr/local/opt/go/libexec/bin $GOPATH/bin
@gawaooooo
Copy link
Author

# JAVA
set -x JAVA_HOME `/usr/libexec/java_home -v 1.8`
set -x PATH $PATH $JAVA_HOME/bin

@gawaooooo
Copy link
Author

gawaooooo commented Mar 9, 2019

Windos版fishの設定

set -g theme_newline_cursor yes
set -g theme_display_git_master_branch yes
set -g theme_color_scheme dracula
set -g theme_display_date no
set -g theme_display_cmd_duration no
set -x GOPATH $HOME/go
set -x PATH $GOPATH/bin $PATH

## for windows explorer (required win10 creators update)
alias open='explorer.exe'
alias e='explorer.exe .'

## alias for git
alias g="git"

@gawaooooo
Copy link
Author

# fzf
set -U FZF_LEGACY_KEYBINDINGS 0

# git alias
#balias g git

# NVM
#set -gx nvm_prefix /usr/local/opt/nvm

# GO
# set the workspace path
#set -x GOPATH $HOME/go
# add the go bin path to be able to execute our programs
#set -x PATH $PATH /usr/local/opt/go/libexec/bin $GOPATH/bin
set -x GOPATH $HOME/go
set -x PATH $PATH $GOPATH/bin

# rbenv
#status --is-interactive; and source (rbenv init -|psub)

# Android
set --export ANDROID $HOME/Library/Android;
set --export ANDROID_HOME $ANDROID/sdk;
set -gx PATH $ANDROID_HOME/tools $PATH;
set -gx PATH $ANDROID_HOME/tools/bin $PATH;
set -gx PATH $ANDROID_HOME/platform-tools $PATH;
set -gx PATH $ANDROID_HOME/emulator $PATH

# starship(最後に追加)
starship init fish | source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment