diff options
| author | 2020-08-29 13:33:12 -0400 | |
|---|---|---|
| committer | 2020-08-29 13:34:22 -0400 | |
| commit | 8e28344e223068d0440a5e87fc285b68a449f672 (patch) | |
| tree | c3479b8eb645e26173601fffaaf7e5a7268ee45f /dot_zsh/plugins | |
| parent | [zsh] add shar aliases and some envvars (diff) | |
zsh: nicer environment stuff
uses systemd's environment.d
I'm thinking it makes sense to port it to other systems, though
especially given pam_env is disabled by default now
Diffstat (limited to '')
| -rw-r--r-- | dot_zsh/plugins/bat | 4 | ||||
| -rw-r--r-- | dot_zsh/plugins/colordiff | 4 | ||||
| -rw-r--r-- | dot_zsh/plugins/jump | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/dot_zsh/plugins/bat b/dot_zsh/plugins/bat new file mode 100644 index 0000000..9d542ab --- /dev/null +++ b/dot_zsh/plugins/bat @@ -0,0 +1,4 @@ +#!/bin/zsh +(( $+commands[bat] )) || return + +alias cat=bat pcat='bat -p' diff --git a/dot_zsh/plugins/colordiff b/dot_zsh/plugins/colordiff new file mode 100644 index 0000000..729d2cf --- /dev/null +++ b/dot_zsh/plugins/colordiff @@ -0,0 +1,4 @@ +#!/bin/zsh +(( $+commands[colordiff] )) || return + +alias diff=colordiff dif='colordiff -u' diff --git a/dot_zsh/plugins/jump b/dot_zsh/plugins/jump index 43e1d44..b64f1df 100644 --- a/dot_zsh/plugins/jump +++ b/dot_zsh/plugins/jump @@ -1,4 +1,4 @@ #!/bin/zsh (( $+commands[jump] )) || return -export JUMP_HOME=~/.local/share/jump + eval "$(jump shell zsh)" |
