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

@ -21,4 +21,6 @@ enable-fzf-tab
source $HOME/.opam/opam-init/init.zsh > /dev/null 2>&1 || true
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
ls() {
eza --icons -l --sort type "$@"
}
alias ls="eza --icons -l --sort type"
nvim() {
/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 vim="nvim --listen /tmp/nvim.pipe"
alias lg="lazygit"
alias calcurse-caldav='CALCURSE_CALDAV_PASSWORD=$(keyring get caldav afonso) calcurse-caldav'