🍻 Attempting to fix things
This commit is contained in:
parent
c540615e6e
commit
6429e703fd
7 changed files with 6 additions and 4 deletions
|
@ -15,3 +15,4 @@ brew_install "FiraCode Nerd Font" font-fira-code-nerd-font "" homebrew/cask-font
|
|||
brew_install "Starship Prompt" starship
|
||||
brew_install "The Fuck" thefuck
|
||||
npm_install "tldr pages" tldr
|
||||
brew_install exa exa
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
source "$DOT/script/utils.fish"
|
||||
source "$DOT/node/node_utils.fish"
|
||||
source "$DOT/homebrew/brew_utils.fish"
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ execute "defaults write com.apple.finder _FXShowPosixPathInTitle -bool true" \
|
|||
execute "defaults write com.apple.finder WarnOnEmptyTrash -bool false" \
|
||||
"Disable the warning before emptying the trash"
|
||||
|
||||
execite "defaults write com.apple.finder FXDefaultSearchScope -string 'SCcf'" \
|
||||
execute "defaults write com.apple.finder FXDefaultSearchScope -string 'SCcf'" \
|
||||
"Search the current directory by default"
|
||||
|
||||
execute "defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false" \
|
||||
|
@ -30,7 +30,7 @@ execute "defaults write -g AppleShowAllExtensions -bool true" \
|
|||
execute "defaults write com.apple.finder AppleShowAllFiles -bool true" \
|
||||
"Show hidden files"
|
||||
|
||||
execite "defaults write com.apple.finder _FXSortFoldersFirst -bool true" \
|
||||
execute "defaults write com.apple.finder _FXSortFoldersFirst -bool true" \
|
||||
"Keep folders on top when sorting by name"
|
||||
|
||||
execute "defaults write com.apple.finder FXRemoveOldTrashItems -bool true" \
|
||||
|
|
0
os/macos/networking.pref.fish
Normal file → Executable file
0
os/macos/networking.pref.fish
Normal file → Executable file
|
@ -14,7 +14,7 @@ function set_os_prefs
|
|||
print_title "OS Preferences"
|
||||
|
||||
set -f os $(uname | string lower)
|
||||
set -f file "{$DOT}/os/{$os}.fish"
|
||||
set -f file "$DOT/os/$os.fish"
|
||||
|
||||
if [ -e "$file" -a -x "$file" ]
|
||||
"$file"
|
||||
|
|
|
@ -127,7 +127,7 @@ function execute -a cmds msg
|
|||
set_trap EXIT kill_all_subproccesses
|
||||
|
||||
eval "$cmds" &>/dev/null 2>$tmp_file &
|
||||
set cmds_pid $last_pid
|
||||
set cmds_pid $fish_pid
|
||||
|
||||
show_spinner $cmds_pid $cmds $msg
|
||||
|
||||
|
|
Loading…
Reference in a new issue