sync from mac

This commit is contained in:
js0ny 2025-01-13 12:18:20 +00:00
parent 75c2379f0f
commit 80b8dfde17
7 changed files with 24 additions and 4 deletions

View file

@ -31,6 +31,9 @@ else if test -d /home/linuxbrew/.linuxbrew/bin # Linux
set -gx PATH /home/linuxbrew/.linuxbrew/bin $PATH
end
if command -v brew > /dev/null
set -gx HOMEBREW_NO_ENV_HINTS
end
# Azure CLI
if command -v az > /dev/null

View file

@ -67,3 +67,7 @@ if command -v pacman > /dev/null
abbr --add pacr "sudo pacman -R"
abbr --add pacu "sudo pacman -Syu"
end
if test "$TERM" = "xterm-ghostty" -o "$TERM" = "xterm-kitty"
abbr --add icat "kitten icat"
end

View file

@ -15,6 +15,15 @@ if status is-interactive
# macOS Specific
abbr --add clip pbcopy
abbr --add paste pbpaste
# Use GNU Coreutils
alias cp=gcp
alias ln=gln
alias mkdir=gmkdir
alias mv=gmv
alias rm=grm
alias rmdir=grmdir
alias touch=gtouch
case "Linux"
# Linux Specific
case '*'

View file

@ -21,7 +21,7 @@ return {
workspaces = {
{
name = "personal",
path = "~/winhome/Obsidian",
path = "~/Obsidian",
},
},
completion = {

View file

@ -253,6 +253,8 @@ if os_type == "Windows" then
args = { "wsl.exe", "-d", "Arch", "zsh" }
},
}
elseif os_type == "macOS" then
config.default_prog = { "/opt/homebrew/bin/fish", "-l"}
else
config.default_prog = { "fish" }
config.launch_menu = {