This might be a very silly question, but how to use .zsh
files?
For example, here is a gist system-wide-clipboard.zsh
Zsh copy & paste system wide for OS X, like in emacs
I do understand I can simply copy its contents to ~/.zshrc
, but maybe it is possible to use this file directly, that is, to start Zsh with system-wide-clipboard.zsh
and not with .zshrc
? Or link this file from within .zshrc
so that it will be loaded automatically?
. /path/to/system-wide-clipboard.zsh
? – muru Mar 05 '24 at 00:19.zshrc
so that it will be loaded automatically". That is, you open Zsh, Zsh automatically loads.zshrc
, and.zshrc
automatically loadssystem-wide-clipboard.zsh
. The same assource $VIM/foo.vim
in your.vimrc
. – jsx97 Mar 05 '24 at 00:27. /path/to/system-wide-clipboard.zsh
will do (orsource
instead of.
, if you prefer that) – muru Mar 05 '24 at 00:27