Fix macos only paths

This commit is contained in:
Afonso Franco 2024-05-26 16:12:58 +01:00
parent a929ef7de2
commit f721b557b8
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
6 changed files with 10 additions and 20 deletions

View file

@ -4,7 +4,7 @@ import = ["~/.config/alacritty/themes/gruvbox_dark.toml"]
TERM = "xterm-256color" TERM = "xterm-256color"
[font] [font]
size = 16.0 size = 14.0
[font.normal] [font.normal]
family = "JetBrainsMono Nerd Font Mono" family = "JetBrainsMono Nerd Font Mono"

View file

@ -21,7 +21,7 @@
"instant.nvim": { "branch": "master", "commit": "294b6d08143b3db8f9db7f606829270149e1a786" }, "instant.nvim": { "branch": "master", "commit": "294b6d08143b3db8f9db7f606829270149e1a786" },
"jq.nvim": { "branch": "master", "commit": "b9879798f25a9318894456dc7464af0904c08958" }, "jq.nvim": { "branch": "master", "commit": "b9879798f25a9318894456dc7464af0904c08958" },
"keylab.nvim": { "branch": "main", "commit": "9686b09253b5dde40e18554d189deb1b0c47f437" }, "keylab.nvim": { "branch": "main", "commit": "9686b09253b5dde40e18554d189deb1b0c47f437" },
"lazy.nvim": { "branch": "main", "commit": "3f13f080434ac942b150679223d54f5ca91e0d52" }, "lazy.nvim": { "branch": "main", "commit": "8f19915175395680808de529e4220da8dafc0759" },
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" }, "lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
"ltex-extra.nvim": { "branch": "master", "commit": "4296c2c7aefbca721d02a011366a1de30598046c" }, "ltex-extra.nvim": { "branch": "master", "commit": "4296c2c7aefbca721d02a011366a1de30598046c" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },

View file

@ -16,6 +16,6 @@ set -g @resurrect-strategy-nvim 'session'
set -g @resurrect-capture-pane-contents 'on' set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
set -g @continuum-save-interval '5' set -g @continuum-save-interval '5'
set -g @continuum-boot 'on' #set -g @continuum-boot 'on'
set -g @continuum-boot-options 'alacritty' #set -g @continuum-boot-options 'alacritty'

View file

@ -21,4 +21,6 @@ enable-fzf-tab
source $HOME/.opam/opam-init/init.zsh > /dev/null 2>&1 || true source $HOME/.opam/opam-init/init.zsh > /dev/null 2>&1 || true
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
eval "$(/opt/homebrew/bin/brew shellenv)" if [[ $(uname) == "Darwin" ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi

View file

@ -1,20 +1,8 @@
# ~/.config/zsh/replacements.zsh # ~/.config/zsh/replacements.zsh
ls() { alias ls="eza --icons -l --sort type"
eza --icons -l --sort type "$@"
}
nvim() { alias vim="nvim --listen /tmp/nvim.pipe"
/opt/homebrew/bin/nvim --listen /tmp/nvim.pipe "$@"
}
vim() {
/opt/homebrew/bin/nvim --listen /tmp/nvim.pipe "$@"
}
v() {
/opt/homebrew/bin/nvim --listen /tmp/nvim.pipe "$@"
}
alias lg="lazygit" alias lg="lazygit"
alias calcurse-caldav='CALCURSE_CALDAV_PASSWORD=$(keyring get caldav afonso) calcurse-caldav' alias calcurse-caldav='CALCURSE_CALDAV_PASSWORD=$(keyring get caldav afonso) calcurse-caldav'

2
.zshrc
View file

@ -75,7 +75,7 @@ ZSH_THEME=""
# HIST_STAMPS="mm/dd/yyyy" # HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=/Users/afonso/.config/zsh ZSH_CUSTOM=$HOME/.config/zsh
# Which plugins would you like to load? # Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/ # Standard plugins can be found in $ZSH/plugins/