mirror of
https://github.com/KevinMidboe/chsh.git
synced 2025-10-29 12:30:13 +00:00
Profile converted to fish syntax
This commit is contained in:
4
.profile
4
.profile
@@ -3,9 +3,9 @@
|
||||
export PATH="/usr/local/bin:$PATH"
|
||||
|
||||
# Add homebrew arm64 install path if applicable
|
||||
if [[ $(uname -m) == "arm64" ]]; then
|
||||
if test $(uname -m) = "arm64"
|
||||
export PATH="/opt/homebrew/bin:$PATH"
|
||||
fi
|
||||
end
|
||||
|
||||
# MacPorts Installer rddition on 2022-10-31_at_23:07:29: adding an appropriate PATH variable for use with MacPorts.
|
||||
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
|
||||
|
||||
@@ -74,7 +74,6 @@ move_config_files () {
|
||||
move_profile_file () {
|
||||
cp .profile $HOME
|
||||
|
||||
source $HOME/.profile
|
||||
echo "Moved .profile file!"
|
||||
}
|
||||
|
||||
@@ -98,7 +97,7 @@ configure_fish () {
|
||||
printf "oh-my-fish already configured!\n\n"
|
||||
fi
|
||||
|
||||
source $HOME/.profile
|
||||
echo ""
|
||||
}
|
||||
|
||||
# Promps for installing custom SF Mono font
|
||||
|
||||
@@ -2,7 +2,7 @@ if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
|
||||
fenv source $HOME/.profile
|
||||
source $HOME/.profile
|
||||
|
||||
# Common programs
|
||||
abbr -a -- vi nvim
|
||||
|
||||
Reference in New Issue
Block a user