summaryrefslogtreecommitdiff
path: root/dot_zsh/plugins
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2021-05-06 12:13:43 -0400
committerChloe Kudryavtsev <toast@toast.cafe>2021-05-06 12:13:43 -0400
commit4be2fb4e53dfd1493dc0e4603f2dbf005bea9a09 (patch)
treefd655147927f0f5d5a75a7dce813abddbc1ae10f /dot_zsh/plugins
parentupdate tmux conf (diff)
remove zsh
Diffstat (limited to 'dot_zsh/plugins')
-rw-r--r--dot_zsh/plugins/bat4
-rw-r--r--dot_zsh/plugins/bsdtar4
-rw-r--r--dot_zsh/plugins/colordiff4
-rw-r--r--dot_zsh/plugins/exa11
-rw-r--r--dot_zsh/plugins/fuzzy25
-rw-r--r--dot_zsh/plugins/gnome-keyring-daemon5
-rw-r--r--dot_zsh/plugins/import-systemd-env15
-rw-r--r--dot_zsh/plugins/jump4
8 files changed, 0 insertions, 72 deletions
diff --git a/dot_zsh/plugins/bat b/dot_zsh/plugins/bat
deleted file mode 100644
index 6127999..0000000
--- a/dot_zsh/plugins/bat
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/zsh
-(( $+commands[bat] )) || return
-
-alias cat=bat c='bat -pp'
diff --git a/dot_zsh/plugins/bsdtar b/dot_zsh/plugins/bsdtar
deleted file mode 100644
index fbc9ccb..0000000
--- a/dot_zsh/plugins/bsdtar
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/zsh
-(( $+commands[bsdtar] )) || return
-
-alias tar=bsdtar bshar='bsdtar --format=shardump' shar='bsdtar --format=shar'
diff --git a/dot_zsh/plugins/colordiff b/dot_zsh/plugins/colordiff
deleted file mode 100644
index 729d2cf..0000000
--- a/dot_zsh/plugins/colordiff
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/zsh
-(( $+commands[colordiff] )) || return
-
-alias diff=colordiff dif='colordiff -u'
diff --git a/dot_zsh/plugins/exa b/dot_zsh/plugins/exa
deleted file mode 100644
index afdee79..0000000
--- a/dot_zsh/plugins/exa
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/zsh
-(( $+commands[exa] )) || return
-
-# removes default ls-likes, replaces them with exa variants
-unalias ls ll l la
-
-# old ones
-alias ls=exa ll='ls -l' l=ll la='l -a'
-# extras
-alias lr='l -T'
-alias lp='lr --git-ignore'
diff --git a/dot_zsh/plugins/fuzzy b/dot_zsh/plugins/fuzzy
deleted file mode 100644
index 22ee30d..0000000
--- a/dot_zsh/plugins/fuzzy
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/zsh
-(( $+commands[fd] )) || return # find(1) sucks, not worth without fd
-
-# if it's not set yet, set it
-[[ -z $fuzzy_command ]] && (( $+commands[fzf] )) && fuzzy_command=fzf
-[[ -z $fuzzy_command ]] && (( $+commands[sk] )) && fuzzy_command=sk
-
-local FUZZY_DEFAULT='fd -t f'
-local FUZZY_ALT_C='fd -t d'
-local FUZZY_CTRL_T="$FUZZY_DEFAULT"
-
-case $fuzzy_command in
- fzf)
- export FZF_DEFAULT_COMMAND="$FUZZY_DEFAULT"
- export FZF_ALT_C_COMMAND="$FUZZY_ALT_C"
- export FZF_CTRL_T_COMMAND="$FUZZY_CTRL_T"
- . /usr/share/fzf/**/*.zsh
- ;;
- sk)
- export SKIM_DEFAULT_COMMAND="$FUZZY_DEFAULT"
- export SKIM_ALT_C_COMMAND="$FUZZY_ALT_C"
- export SKIM_CTRL_T_COMMAND="$FUZZY_CTRL_T"
- . /usr/share/skim/**/*.zsh
- ;;
-esac
diff --git a/dot_zsh/plugins/gnome-keyring-daemon b/dot_zsh/plugins/gnome-keyring-daemon
deleted file mode 100644
index e9c35c2..0000000
--- a/dot_zsh/plugins/gnome-keyring-daemon
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/zsh
-(( $+commands[gnome-keyring-daemon] )) || return
-if [[ -z $SSH_AUTH_SOCK ]]; then
- export $(gnome-keyring-daemon -s)
-fi
diff --git a/dot_zsh/plugins/import-systemd-env b/dot_zsh/plugins/import-systemd-env
deleted file mode 100644
index e30d8cd..0000000
--- a/dot_zsh/plugins/import-systemd-env
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/zsh
-# only applies to systemd
-p1=$(ps -p 1 -o comm=)
-[[ "$p1" = "systemd" ]] || return
-
-# we *import* expected systemd user env from environment.d
-# I might later make a standalone utility just for that (environment.d on non-systemd systems)
-
-# warning: root access will mean being able to inject arbitrary code into your shell
-# by way of replacing that executable
-# this is why we test for systemd as pid1 (right now) rather than the presence of the binary
-while read -r l; do
- eval export $l
-
-done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
diff --git a/dot_zsh/plugins/jump b/dot_zsh/plugins/jump
deleted file mode 100644
index b64f1df..0000000
--- a/dot_zsh/plugins/jump
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/zsh
-(( $+commands[jump] )) || return
-
-eval "$(jump shell zsh)"