read current value:
defaults read com.apple.finder "AppleShowAllFiles"0
reset to default value:
defaults delete com.apple.finder "AppleShowAllFiles"&& killall Finderdo not show hidden files:
defaults write com.apple.finder "AppleShowAllFiles" -bool "false"&& killall Findershow hidden files:
defaults write com.apple.finder "AppleShowAllFiles" -bool "true"&& killall Finderdefaults read com.apple.finder "AppleShowAllFiles"1
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | shbash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
opam init
opam install ocaml-lsp-server odoc ocamlformat utopcurl -fsSL https://install.julialang.org | shbrew --versionHomebrew 4.3.1
echo'eval "$(/opt/homebrew/bin/brew shellenv)"'>>~/.zprofile
source~/.zprofilebrew install git
brew list --versions gitgit 2.45.2
brew install --cask git-credential-manager
brew list --cask --versions git-credential-managergit-credential-manager 2.5.1
brew install neovim
brew list --versions neovimneovim 0.10.0
brew install node
brew list --versions nodenode 22.5.1
brew install ripgrep
brew list --versions ripgrepripgrep 14.1.0
brew install black
brew list --versions blackblack 24.4.2
brew tap homebrew/cask-fonts
brew install --cask font-hasklug-nerd-font
brew list --cask --versions font-hasklug-nerd-fontfont-hasklug-nerd-font 3.2.1
brew install --cask alacritty
brew list --cask --versions alacrittyalacritty 0.13.2
brew install zsh-autosuggestions
echo"source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh">>~/.zshrc
brew list --versions zsh-autosuggestionszsh-autosuggestions 0.7.0
brew install zsh-syntax-highlighting
echo"source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh">>~/.zshrc
brew list --versions zsh-syntax-highlightingzsh-syntax-highlighting 0.8.0
brew install tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
brew list --versions tmuxtmux 3.4_1
brew install yq
brew list --versions yqyq 4.44.2
echo"alias vim=nvim">>~/.zshrc
echo'alias vimc='\''cd "$HOME/.config/nvim"'\'''>>~/.zshrc
source~/.zshrcchmod +x rm_latex_aux.sh
echo"alias cleantex='\$HOME/.config/nvim/rm_latex_aux.sh'">>~/.zshrc
source~/.zshrccd$HOME/.config
git clone https://github.com/cb-g/nvimtmuxinstall tmux plugins with ctrl-s shift-i
launch:
vimc
vim .reset:
rm -rf $HOME/.local/share/nvim
rm -rf $HOME/.local/state/nvim
rm -rf $HOME/.tmuxdelete:
rm -rf $HOME/.config/nvim[colors]
transparent_background_colors = true
[window]
startup_mode = "Maximized"opacity = 0.75blur = falsedecorations = "Buttonless"
[window.padding]
x = 0y = 0# [window.dimensions]# columns = 700# lines = 90
[window.position]
x = 800y = 150
[font]
size = 17
[font.normal]
family = "Hasklug Nerd Font"
[env]
TERM = "xterm-256color"