Renames functions
This commit is contained in:
12
update.sh
12
update.sh
@@ -149,7 +149,7 @@ function load_gnome_terminal_profiles() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function use_fish() {
|
function install_fish() {
|
||||||
echo "--- Ensuring fish is current shell"
|
echo "--- Ensuring fish is current shell"
|
||||||
if ! which fish 1>/dev/null
|
if ! which fish 1>/dev/null
|
||||||
then
|
then
|
||||||
@@ -170,7 +170,7 @@ function use_fish() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function use_direnv() {
|
function install_direnv() {
|
||||||
echo "--- Ensuring direnv is installed"
|
echo "--- Ensuring direnv is installed"
|
||||||
if ! which direnv 1>/dev/null
|
if ! which direnv 1>/dev/null
|
||||||
then
|
then
|
||||||
@@ -182,7 +182,7 @@ function use_direnv() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function use_starship() {
|
function install_starship() {
|
||||||
echo "--- Ensuring starship is installed"
|
echo "--- Ensuring starship is installed"
|
||||||
if which starship 1>/dev/null
|
if which starship 1>/dev/null
|
||||||
then
|
then
|
||||||
@@ -233,9 +233,9 @@ function install_ubuntu_mono_nerd() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install_deps() {
|
function install_deps() {
|
||||||
use_fish
|
install_fish
|
||||||
use_direnv
|
install_direnv
|
||||||
use_starship
|
install_starship
|
||||||
if $FONT
|
if $FONT
|
||||||
then
|
then
|
||||||
install_ubuntu_mono_nerd
|
install_ubuntu_mono_nerd
|
||||||
|
|||||||
Reference in New Issue
Block a user