From 4de563ae0ee333a986e3cf6bdd170453e3261e3d Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 20 Aug 2021 19:38:32 +0430 Subject: zsh overhaul --- .config/broot/conf.hjson | 23 ++-- .config/ranger/rifle.conf | 284 ++++++++++++++++++++++++++++++++++++++++++++++ .ctags | 10 ++ .tmux.conf | 2 +- .vimrc | 65 +++++++++-- .zshenv | 2 + .zshrc | 217 ++++++++++++++++++++++------------- bin/pdf2mp3 | 32 ++++++ devi.zsh-theme | 266 ++++++++++++++++++++++++++----------------- docker/ipfs.sh | 3 + irssi/config | 31 +++-- irssi/startup | 4 +- tmux/date.sh | 2 +- 13 files changed, 726 insertions(+), 215 deletions(-) create mode 100644 .config/ranger/rifle.conf create mode 100644 .zshenv create mode 100755 bin/pdf2mp3 create mode 100755 docker/ipfs.sh diff --git a/.config/broot/conf.hjson b/.config/broot/conf.hjson index 93c4fef..fd6db3f 100644 --- a/.config/broot/conf.hjson +++ b/.config/broot/conf.hjson @@ -16,6 +16,7 @@ # ############################################################### { + syntax_theme: Solarized (dark) ############################################################### # Default flags @@ -39,7 +40,7 @@ # "vim mode" # # - # modal: true + modal: true ############################################################### # Whether to mark the selected line with a triangle @@ -52,16 +53,16 @@ # array. You should keep the name at the end as it has a variable # length. # - # cols_order: [ - # mark - # git - # size - # permission - # date - # count - # branch - # name - # ] + cols_order: [ + mark + git + size + permission + date + count + branch + name + ] ############################################################### # True Colors diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf new file mode 100644 index 0000000..86f53fd --- /dev/null +++ b/.config/ranger/rifle.conf @@ -0,0 +1,284 @@ +# vim: ft=cfg +# +# This is the configuration file of "rifle", ranger's file executor/opener. +# Each line consists of conditions and a command. For each line the conditions +# are checked and if they are met, the respective command is run. +# +# Syntax: +# , , ... = command +# +# The command can contain these environment variables: +# $1-$9 | The n-th selected file +# $@ | All selected files +# +# If you use the special command "ask", rifle will ask you what program to run. +# +# Prefixing a condition with "!" will negate its result. +# These conditions are currently supported: +# match | The regexp matches $1 +# ext | The regexp matches the extension of $1 +# mime | The regexp matches the mime type of $1 +# name | The regexp matches the basename of $1 +# path | The regexp matches the absolute path of $1 +# has | The program is installed (i.e. located in $PATH) +# env | The environment variable "variable" is non-empty +# file | $1 is a file +# directory | $1 is a directory +# number | change the number of this command to n +# terminal | stdin, stderr and stdout are connected to a terminal +# X | A graphical environment is available (darwin, Xorg, or Wayland) +# +# There are also pseudo-conditions which have a "side effect": +# flag | Change how the program is run. See below. +# label