···11+# ๏ Git ๎ https://git-scm.com/downloads/linux
22+# ๏ Homebrew ๎ฝ $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
33+# ๏ Fish Shell ๎น $ brew install fish
44+# ๏ GHQ $ brew install ghq
55+function basic_custom_setup
66+ # Homebrew Software --------------------------------------------------------
77+ set ensure_installed_homebrew \
88+ ast-grep \
99+ bat \
1010+ difftastic \
1111+ direnv \
1212+ docker \
1313+ eza \
1414+ fd \
1515+ fish \
1616+ fish-lsp \
1717+ fzf \
1818+ gcc \
1919+ gh \
2020+ ghq \
2121+ gleam \
2222+ go \
2323+ httpie \
2424+ jj \
2525+ just \
2626+ lazydocker \
2727+ lazygit \
2828+ lua \
2929+ luarocks \
3030+ make \
3131+ node \
3232+ nvim \
3333+ pipx \
3434+ presenterm \
3535+ prettybat \
3636+ rg \
3737+ sqlfluff \
3838+ sqlite3 \
3939+ tmux \
4040+ trash-cli \
4141+ tree \
4242+ tree-sitter \
4343+ tree-sitter-cli \
4444+ watchexec \
4545+ yazi \
4646+ zig \
4747+ zoxide
4848+4949+ # Install missing homebrew formulaes
5050+ for formulae in $ensure_installed_homebrew
5151+ if not type -q $formulae
5252+ brew install -q $formulae
5353+ end
5454+ end
5555+5656+ # Verify bat-extras installation -------------------------------------------
5757+ set bat_extras_list \
5858+ batdiff \
5959+ batgrep \
6060+ batman \
6161+ batpipe \
6262+ batwatch
6363+6464+ # Install missing bat-extras formulaes
6565+ for bat_extra in $bat_extras_list
6666+ if not type -q $bat_extra
6767+ brew install -q bat-extras
6868+ end
6969+ end
7070+7171+ # Verify fisher installation -----------------------------------------------
7272+ if not type -q fisher
7373+ curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
7474+ end
7575+7676+ # Fisher Plugins
7777+ set -l ensure_installed_fisher \
7878+ jorgebucaran/fisher \
7979+ jethrokuan/z \
8080+ decors/fish-ghq \
8181+ catppuccin/fish \
8282+ decors/fish-colored-man \
8383+ patrickf1/fzf.fish \
8484+ jorgebucaran/autopair.fish
8585+8686+ # Install missing fisher plugins
8787+ for fisher_plugin in $ensure_installed_fisher
8888+ if not contains $fisher_plugin (cat $__fish_config_dir/fish_plugins)
8989+ fisher install $fisher_plugin
9090+ end
9191+ end
9292+9393+end
+18
.config/fish/functions/fish_prompt.fish
···11+function fish_prompt --description "Customize your prompt ๎ช "
22+ set -l icon "๏ "
33+ set -l working_directory (set_color green) (prompt_pwd) (set_color normal)
44+55+ if test -e "build.zig"
66+ set icon (set_color yellow) "๎ฉ " (set_color normal)
77+ else if test -e "deno.json"
88+ set icon (set_color green) "๎ " (set_color normal)
99+ else if test -e "gleam.toml"
1010+ set icon (set_color magenta) "๏ " (set_color normal)
1111+ else if test -e "package.json"
1212+ set icon (set_color green) "๎ด " (set_color normal)
1313+ else if test -e "pyproject.toml"
1414+ set icon (set_color yellow) "๎ " (set_color normal)
1515+ end
1616+1717+ echo -ns $icon $working_directory " ๏ "
1818+end
+13
.config/fish/functions/fish_right_prompt.fish
···11+function fish_right_prompt
22+ set -l vcs_color normal
33+44+ if command -q jj && test -e ".jj"
55+ set vcs_color blue
66+ set icon (set_color $vcs_color) "๓ฑ" (set_color normal)
77+ else if command -q git && test -e ".git"
88+ set vcs_color red
99+ set icon (set_color $vcs_color) "๎" (set_color normal)
1010+ end
1111+1212+ echo -ns $icon (set_color $vcs_color) (fish_git_prompt) (set_color normal)
1313+end