chore: Fix macos only paths
This commit is contained in:
parent
e189b6856a
commit
7165e68328
5 changed files with 9 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue