diff options
| author | 2021-03-02 20:25:29 -0500 | |
|---|---|---|
| committer | 2021-03-02 20:25:29 -0500 | |
| commit | e2465d5c67e8ebe6529879279c5c9e9a6efd76a1 (patch) | |
| tree | dcf4a5cda24df211e7db558aa492e5e89c304f5d /dot_config/private_fish/plug | |
| parent | migrate git email, explicitly configure foot $TERM (diff) | |
fish: add baseline plugs/configs
Diffstat (limited to '')
| -rw-r--r-- | dot_config/private_fish/plug/.keep | 0 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/bat.fish | 3 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/bsdtar.fish | 4 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/colordiff.fish | 3 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/date.fish | 3 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/docker.fish | 7 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/exa.fish | 7 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/ht.fish | 3 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/jump.fish | 2 | ||||
| -rw-r--r-- | dot_config/private_fish/plug/ssh.fish | 2 |
10 files changed, 34 insertions, 0 deletions
diff --git a/dot_config/private_fish/plug/.keep b/dot_config/private_fish/plug/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/dot_config/private_fish/plug/.keep diff --git a/dot_config/private_fish/plug/bat.fish b/dot_config/private_fish/plug/bat.fish new file mode 100644 index 0000000..8858351 --- /dev/null +++ b/dot_config/private_fish/plug/bat.fish @@ -0,0 +1,3 @@ +type -qf bat || exit +alias cat bat +alias c 'bat -pp' diff --git a/dot_config/private_fish/plug/bsdtar.fish b/dot_config/private_fish/plug/bsdtar.fish new file mode 100644 index 0000000..dab2d53 --- /dev/null +++ b/dot_config/private_fish/plug/bsdtar.fish @@ -0,0 +1,4 @@ +type -qf bsdtar || exit +alias tar bsdtar +alias bshar 'bsdtar --format=shardump' +alias shar 'bsdtar --format=shar' diff --git a/dot_config/private_fish/plug/colordiff.fish b/dot_config/private_fish/plug/colordiff.fish new file mode 100644 index 0000000..752882f --- /dev/null +++ b/dot_config/private_fish/plug/colordiff.fish @@ -0,0 +1,3 @@ +type -q colordiff || exit +alias diff colordiff +alias dif 'colordiff -u' diff --git a/dot_config/private_fish/plug/date.fish b/dot_config/private_fish/plug/date.fish new file mode 100644 index 0000000..80c7c9e --- /dev/null +++ b/dot_config/private_fish/plug/date.fish @@ -0,0 +1,3 @@ +type -qf date || exit +# various date aliases I like +alias weekdate "date '+%W %a'" diff --git a/dot_config/private_fish/plug/docker.fish b/dot_config/private_fish/plug/docker.fish new file mode 100644 index 0000000..50cabc2 --- /dev/null +++ b/dot_config/private_fish/plug/docker.fish @@ -0,0 +1,7 @@ +type -qf podman +and alias docker podman + +if type -q docker + alias dit 'docker run --rm -it' + alias drun 'dit -v (pwd):/pwd:Z -w /pwd' +end diff --git a/dot_config/private_fish/plug/exa.fish b/dot_config/private_fish/plug/exa.fish new file mode 100644 index 0000000..671066a --- /dev/null +++ b/dot_config/private_fish/plug/exa.fish @@ -0,0 +1,7 @@ +type -qf exa || exit +alias ls exa +alias l 'exa -l' +alias ll 'exa -l' +alias la 'exa -la' +alias lr 'exa -lT' +alias lp 'exa -lT --git-ignore' diff --git a/dot_config/private_fish/plug/ht.fish b/dot_config/private_fish/plug/ht.fish new file mode 100644 index 0000000..e216988 --- /dev/null +++ b/dot_config/private_fish/plug/ht.fish @@ -0,0 +1,3 @@ +type -qf ht || exit +alias ht 'ht -F' +alias h 'ht -b' diff --git a/dot_config/private_fish/plug/jump.fish b/dot_config/private_fish/plug/jump.fish new file mode 100644 index 0000000..c5b1565 --- /dev/null +++ b/dot_config/private_fish/plug/jump.fish @@ -0,0 +1,2 @@ +type -qf jump || exit +jump shell fish | source diff --git a/dot_config/private_fish/plug/ssh.fish b/dot_config/private_fish/plug/ssh.fish new file mode 100644 index 0000000..1a71332 --- /dev/null +++ b/dot_config/private_fish/plug/ssh.fish @@ -0,0 +1,2 @@ +type -qf ssh || exit +alias ossh 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=Error' |
