|
|
@@ -90,12 +90,12 @@ alias hgw='hg diff --change .'
|
|
|
alias class='xprop -notype WM_CLASS'
|
|
|
alias fx='FX_NO_MOUSE=1 FX_COLLAPSED=1 FX_SHOW_SIZE=1 fx'
|
|
|
alias tree='tree -AvL 10'
|
|
|
-alias vi='vi -p'
|
|
|
-alias vil='vi *(.om[1])'
|
|
|
+alias vi='nvim -p'
|
|
|
+alias vil='nvim *(.om[1])'
|
|
|
alias find='gfind'
|
|
|
alias sudovi="sudo vi -N -u $HOME/.vimrc"
|
|
|
alias shrug="echo -n '¯\\(°_o)/¯' | pbcopy"
|
|
|
-alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
|
|
|
+alias rg='rg --hidden'
|
|
|
function https() {
|
|
|
openssl s_client -connect $1:443 -servername $1 < /dev/null | \
|
|
|
openssl x509 -noout -text -certopt no_header,no_version,no_serial,no_signame,no_pubkey,no_sigdump
|
|
|
@@ -122,6 +122,9 @@ if [ -d /opt/homebrew/sbin ]; then
|
|
|
PATH=/opt/homebrew/sbin:$PATH
|
|
|
fi
|
|
|
if [ -d /opt/homebrew/bin ]; then
|
|
|
+ if [ -d /opt/homebrew/opt/libpq/bin ]; then
|
|
|
+ PATH=/opt/homebrew/opt/libpq/bin:$PATH
|
|
|
+ fi
|
|
|
PATH=/opt/homebrew/bin:$PATH
|
|
|
fi
|
|
|
|
|
|
@@ -189,6 +192,10 @@ if builtin which aws_completer > /dev/null; then
|
|
|
complete -C aws_completer aws
|
|
|
fi
|
|
|
|
|
|
+if builtin which mise > /dev/null; then
|
|
|
+ eval "$(mise activate zsh)"
|
|
|
+fi
|
|
|
+
|
|
|
if builtin which fzf > /dev/null; then
|
|
|
FZF_DEFAULT_OPTS='--no-mouse'
|
|
|
if [ -f /opt/homebrew/opt/fzf/shell/key-bindings.zsh ]; then
|
|
|
@@ -261,7 +268,7 @@ if builtin which fzf > /dev/null; then
|
|
|
|
|
|
__fzf_rg() {
|
|
|
setopt localoptions pipefail no_aliases 2> /dev/null
|
|
|
- RELOAD='reload:rg --column --color=always --smart-case {q} || :'
|
|
|
+ RELOAD='reload:rg --hidden --column --color=always --smart-case {q} || :'
|
|
|
$(__fzfcmd) --disabled --ansi --multi \
|
|
|
--bind "start:$RELOAD" --bind "change:$RELOAD" \
|
|
|
--bind 'alt-a:select-all,alt-d:deselect-all,ctrl-/:toggle-preview' \
|