-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b80e9cd
commit 14be58b
Showing
7 changed files
with
252 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
if type -q exa | ||
alias ll "exa -l -g --icons" | ||
alias lla "ll -a" | ||
end | ||
|
||
if status is-interactive | ||
eval (/opt/homebrew/bin/brew shellenv) | ||
zoxide init fish | source | ||
set -gx PATH "$HOME/.cargo/bin" $PATH; | ||
fzf_key_bindings | ||
alias g "git" | ||
end | ||
|
||
function fish_user_key_bindings | ||
fish_vi_key_bindings | ||
end | ||
|
||
function fish_prompt | ||
set -l pwd_components (string split / $PWD) | ||
set pwd_components_count (count $pwd_components) | ||
if test $pwd_components_count -ge 2; | ||
set -x head_directory (echo "$pwd_components[-1]") | ||
else; | ||
set -x head_directory (echo "$pwd_components[-1]") | ||
end | ||
if test "$hostname" = "lcolli1223mac"; | ||
echo (set_color yellow)"$(date '+%H:%M:%S') "(set_color normal)"/$head_directory " | ||
else; | ||
echo (set_color yellow)"$(date '+%H:%M:%S') "(set_color green)"$hostname"(set_color normal)"/$head_directory " | ||
end | ||
end | ||
|
||
function fish_mode_prompt | ||
end | ||
|
||
|
||
# >>> JVM installed by coursier >>> | ||
set -gx JAVA_HOME "/Users/lcolli/Library/Caches/Coursier/arc/https/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.22%252B7/OpenJDK11U-jdk_x64_mac_hotspot_11.0.22_7.tar.gz/jdk-11.0.22+7/Contents/Home" | ||
# <<< JVM installed by coursier <<< | ||
|
||
# >>> coursier install directory >>> | ||
set -gx PATH "$PATH:/Users/lcolli/Library/Application Support/Coursier/bin" | ||
# <<< coursier install directory <<< | ||
|
||
# The next line updates PATH for the Google Cloud SDK. | ||
if [ -f '/Users/lcolli/Projects/work/google-cloud-sdk 2/path.fish.inc' ]; . '/Users/lcolli/Projects/work/google-cloud-sdk 2/path.fish.inc'; end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters