mirror of
https://github.com/KevinMidboe/chsh.git
synced 2025-10-29 12:30:13 +00:00
Make sure go directories exists
This commit is contained in:
@@ -98,6 +98,14 @@ configure_fish () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configure_go () {
|
||||||
|
fish -c source $HOME/.profile
|
||||||
|
|
||||||
|
if ( grep -q GOPATH "$HOME/.profile" ) && [ ! -d $GOPATH ]; then
|
||||||
|
mkdir -p $GOPATH $GOPATH/{bin,pkg}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Promps for installing custom SF Mono font
|
# Promps for installing custom SF Mono font
|
||||||
# patched with devicons + more
|
# patched with devicons + more
|
||||||
get_input_df_false "Install custom font? (y/N) " install_font
|
get_input_df_false "Install custom font? (y/N) " install_font
|
||||||
@@ -121,3 +129,4 @@ get_input_df_true "Move config files to $HOME/.config? (Y/n) " move_config_files
|
|||||||
echo "Configurating fish shell"
|
echo "Configurating fish shell"
|
||||||
configure_fish
|
configure_fish
|
||||||
|
|
||||||
|
configure_go
|
||||||
|
|||||||
Reference in New Issue
Block a user