summary refs log tree commit diff stats
path: root/user/zsh/zshrc.darwin
diff options
context:
space:
mode:
authorAlan Pearce2023-08-22 19:10:12 +0200
committerAlan Pearce2023-08-22 19:10:12 +0200
commitf8f5398d96b34adb178b9b73ee8228e78eddd329 (patch)
tree5f64f2d37ada0e7e96a74f35b91b13b7dc626171 /user/zsh/zshrc.darwin
parent4a22fe0cf6b7c54d67dbf7c45d82fb8d7f330bbf (diff)
downloadnixfiles-f8f5398d96b34adb178b9b73ee8228e78eddd329.tar.lz
nixfiles-f8f5398d96b34adb178b9b73ee8228e78eddd329.tar.zst
nixfiles-f8f5398d96b34adb178b9b73ee8228e78eddd329.zip
Remove zsh config
Diffstat (limited to 'user/zsh/zshrc.darwin')
-rw-r--r--user/zsh/zshrc.darwin42
1 files changed, 0 insertions, 42 deletions
diff --git a/user/zsh/zshrc.darwin b/user/zsh/zshrc.darwin
deleted file mode 100644
index 1c9f984a..00000000
--- a/user/zsh/zshrc.darwin
+++ /dev/null
@@ -1,42 +0,0 @@
-# -*- mode: sh; -*-
-set_title() {
-	print -Pn "\e]0;$1\7\n"
-}
-ssh() {
-	local arg server retval
-	for arg; do
-		if [[ "${arg#-}" == "$arg" ]]; then
-			server=$arg
-			break
-		fi
-	done
-	if [[ ! -p /dev/fd/1 ]]; then
-		set_title "ssh $server"
-		command ssh "$@"
-		retval=$?
-		set_title
-		return $retval
-	else
-		command ssh "$@"
-		return $retval
-	fi
-}
-mosh() {
-	set_title "mosh $@"
-	command mosh "$@"
-	retval=$?
-	set_title
-	return $retval
-}
-finder() {
-	open -a Finder "${1:-.}"
-}
-compdef '_path_files -/' finder
-
-if test -n "$KITTY_INSTALLATION_DIR"; then
-	export KITTY_SHELL_INTEGRATION="no-cursor"
-	autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration
-	kitty-integration
-	unfunction kitty-integration
-	alias kssh="kitten ssh"
-fi