File tree 7 files changed +3
-104
lines changed
7 files changed +3
-104
lines changed Original file line number Diff line number Diff line change 69
69
~/.wezterm.sh :
70
70
curl -fsSo $@ https://raw.githubusercontent.com/wez/wezterm/main/assets/shell-integration/wezterm.sh
71
71
72
- # -------- Ghostty --------
73
-
74
- .PHONY : ghostty
75
- ghostty : ~/.config/ghostty # # Set up the Ghostty terminal emulator
76
-
77
- ~/.config/ghostty : | ~/.config
78
- ifeq ($(gnu_ln ) ,0)
79
- ln -srTf -- ghostty $@
80
- else
81
- @rm -rvf -- $@
82
- ln -sf -- $(abspath ghostty) $@
83
- endif
84
-
85
72
# -------- Neovim ---------
86
73
87
74
.PHONY : nvim clean-nvim
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ vim.opt.rtp:prepend(lazypath)
102
102
103
103
-- Setup {{{
104
104
105
- local lazy_spec = {
105
+ require " lazy " . setup ( {
106
106
-- Shared Plugin Libraries {{{
107
107
108
108
" nvim-lua/plenary.nvim" ,
@@ -589,20 +589,7 @@ local lazy_spec = {
589
589
}
590
590
591
591
-- }}}
592
- }
593
-
594
- if vim .env .GHOSTTY_RESOURCES_DIR then
595
- local gty_rtp = vim .env .GHOSTTY_RESOURCES_DIR .. " /../vim/vimfiles"
596
- if vim .fn .isdirectory (gty_rtp ) then
597
- table.insert (lazy_spec , {
598
- " ghostty" ,
599
- dir = gty_rtp ,
600
- lazy = false
601
- })
602
- end
603
- end
604
-
605
- require " lazy" .setup (lazy_spec , {
592
+ }, {
606
593
defaults = {
607
594
lazy = true
608
595
},
Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ export VISUAL=nvim
13
13
14
14
# Fpath mangling for user functions
15
15
fpath=(${HOME} /.local/share/zsh/site-functions $fpath )
16
- if (( ${+GHOSTTY_RESOURCES_DIR} )) && [[ -d ${GHOSTTY_RESOURCES_DIR} ]]; then
17
- fpath=(${GHOSTTY_RESOURCES_DIR} /../zsh/site-functions $fpath )
18
- fi
19
16
20
17
21
18
# -----------------
@@ -159,9 +156,6 @@ path=(${HOME}/.local/bin $path)
159
156
export GOPATH=${HOME} /go
160
157
path=(${GOPATH} /bin $path )
161
158
162
- # Ghostty
163
- path=(${GHOSTTY_BIN_DIR} $path )
164
-
165
159
# Allow command line editing in an external editor in the "vicmd" keymap.
166
160
# Zim's "input" module already enables this in the default keymap ("viins").
167
161
bindkey -M vicmd " ${key_info[Control]} x${key_info[Control]} e" edit-command-line
@@ -184,9 +178,7 @@ termtitle() {
184
178
for zhook in ${zhooks} ; do
185
179
add-zsh-hook -d ${zhook} termtitle_update_${zhook}
186
180
done
187
- local -a print_args=(-rn)
188
- (( $+ _ghostty_fd )) && print_args+=(-u $_ghostty_fd )
189
- print $print_args $' \e ]2;' ${(q)@ } $' \a '
181
+ print -rn $' \e ]2;' ${(q)@ } $' \a '
190
182
}
191
183
192
184
# Source local environment
You can’t perform that action at this time.
0 commit comments