Bladeren bron

valdera specifics

raylu 2 maanden geleden
bovenliggende
commit
f7d13a121d
3 gewijzigde bestanden met toevoegingen van 18 en 5 verwijderingen
  1. 1 1
      config/kitty/kitty.conf
  2. 6 0
      ssh/config
  3. 11 4
      zshrc

+ 1 - 1
config/kitty/kitty.conf

@@ -23,7 +23,7 @@ bold_italic_font auto
 #:     italic_font      Operator Mono Book Italic
 #:     bold_italic_font Operator Mono Medium Italic
 
-font_size 12.0
+font_size 14.0
 
 #: Font size (in pts)
 

+ 6 - 0
ssh/config

@@ -1,5 +1,11 @@
+# Added by OrbStack: 'orb' SSH host for Linux machines
+# This only works if it's at the top of ssh_config (before any Host blocks).
+# This won't be added again if you remove it.
+Include ~/.orbstack/ssh/config
+
 StrictHostKeyChecking no
 HashKnownHosts no
+IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
 ControlMaster auto
 ControlPath ~/.ssh/%r@%h:%p
 ControlPersist 5

+ 11 - 4
zshrc

@@ -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' \