summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-23 23:42:47 +0400
committerAlen <alen@dotfiles.xyz>2023-09-23 23:42:47 +0400
commit18b9327c9d3b3c9478e27e7dac98a7f88f421688 (patch)
treee0000819518b3e6f1ffe84500d8aa3e52ed406a4
parente73d487c6e9b3dacbf18a979f593c1c20539e459 (diff)
Add shebangs to .zshrc and .zshenv for editor convenience
-rw-r--r--dot_config/zsh/dot_zshrc2
-rw-r--r--dot_zshenv2
2 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc
index 13b626a..0433fc7 100644
--- a/dot_config/zsh/dot_zshrc
+++ b/dot_config/zsh/dot_zshrc
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
 # Set up nice and lengthy history
 export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history"
 export HISTSIZE=1000000
diff --git a/dot_zshenv b/dot_zshenv
index 2983e2a..dddd8fc 100644
--- a/dot_zshenv
+++ b/dot_zshenv
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
 # First and foremost, set up history
 setopt inc_append_history     # append to history as commands are run rather than at the end
 setopt extended_history       # record timestamp of command in HISTFILE