about summary refs log tree commit diff
path: root/configs/shared/zsh/variables.zsh
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-05T18·23+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-05T18·23+0000
commitebde4edc0e439304504bf49c9dd2b177c24a8041 (patch)
tree2110e40f54ccd360a731fb77f5a74bde9013bfcf /configs/shared/zsh/variables.zsh
parentf9b7b86b9c1b35f0c51d27f6408a6be8b4f99326 (diff)
Support DATE_FMT
This format string is being used in my i3 config and in my alias for
creating a gPaste. I figured it'd be nice to set a variable that defines
the format. Future me: run `man date` to see what format options are
supported.
Diffstat (limited to 'configs/shared/zsh/variables.zsh')
-rw-r--r--configs/shared/zsh/variables.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/shared/zsh/variables.zsh b/configs/shared/zsh/variables.zsh
index 2ba1f4d8efce..05c5edc81754 100644
--- a/configs/shared/zsh/variables.zsh
+++ b/configs/shared/zsh/variables.zsh
@@ -1,6 +1,7 @@
-EDITOR="emacs"
-BROWSER="chrome"
+EDITOR=emacs
+BROWSER=google-chrome
 NIXIFY="$HOME/programming/nixify"
+DATE_FMT=%b-%d-%Y_%T # my preferred date formatting string used for generated filename
 
 # commonly used config files
 v="$HOME/.config/nvim/init.vim"