diff options
Diffstat (limited to 'dot_zsh')
| -rw-r--r-- | dot_zsh/plugins/bat | 4 | ||||
| -rw-r--r-- | dot_zsh/plugins/colordiff | 4 | ||||
| -rw-r--r-- | dot_zsh/plugins/jump | 2 | ||||
| -rw-r--r-- | dot_zsh/source/alias.zsh | 2 | ||||
| -rw-r--r-- | dot_zsh/source/path.zsh | 5 |
5 files changed, 9 insertions, 8 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)" diff --git a/dot_zsh/source/alias.zsh b/dot_zsh/source/alias.zsh index e0f9c31..6696b1d 100644 --- a/dot_zsh/source/alias.zsh +++ b/dot_zsh/source/alias.zsh @@ -1,6 +1,4 @@ -alias cat=bat alias cp='cp --reflink=auto' -alias dif='colordiff -u' alias dit='docker run --rm -it' alias drun='dit -v "$PWD":/pwd:Z -w /pwd' alias g=genius diff --git a/dot_zsh/source/path.zsh b/dot_zsh/source/path.zsh index 252fbdb..e29bb56 100644 --- a/dot_zsh/source/path.zsh +++ b/dot_zsh/source/path.zsh @@ -1,8 +1,3 @@ -export CARGO_HOME=~/.local/cargo -export DENO_DIR=~/.local/deno -export GOPATH=~/.local/go -export LUAROCKS_CONFIG=~/.config/luarocks/config.lua - if (( $+commands[luarocks] )); then PATH="$PATH:$(luarocks path --lr-bin)" # luarocks puts :s in the output eval $(luarocks path --no-bin) |
