summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell')
-rw-r--r--.config/shell/aliasrc1
-rw-r--r--.config/shell/bm-dirs10
-rw-r--r--.config/shell/bm-files4
-rw-r--r--.config/shell/profile14
4 files changed, 16 insertions, 13 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 7325729..37a847c 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -14,7 +14,6 @@ alias o='${OPENER:-xdg-open}'
alias e='${EDITOR:-vi}'
alias se='sudoedit'
alias lf='lfcd'
-alias rs='exec $SHELL'
alias sr='ff ~/.config ~/.local/bin ~/bin'
alias uc='cd ~ && gitpush' # update config
diff --git a/.config/shell/bm-dirs b/.config/shell/bm-dirs
index cf9de6c..603136b 100644
--- a/.config/shell/bm-dirs
+++ b/.config/shell/bm-dirs
@@ -2,6 +2,7 @@
cac ${XDG_CACHE_HOME:-$HOME/.cache}
cg ${XDG_CONFIG_HOME:-$HOME/.config}
lsh ${XDG_DATA_DIR:-$HOME/.local/share}
+lsha ${XDG_DATA_DIR:-$HOME/.local/share}/applications
vnv ${XDG_DATA_DIR:-$HOME/.local/share}/virtualenvs
ltr ${XDG_DATA_DIR:-$HOME/.local/share}/Trash
lsr ${XDG_DATA_DIR:-$HOME/.local/src}
@@ -9,6 +10,7 @@ lst ${XDG_DATA_DIR:-$HOME/.local/state}
dn ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
dx ${XDG_DOCUMENTS_DIR:-$HOME/Documents}
dl ${XDG_DOCUMENTS_DIR:-$HOME/Documents}/latex
+dr ${XDG_DOCUMENTS_DIR:-$HOME/Documents}/latex/resume
nt ${XDG_DOCUMENTS_DIR:-$HOME/Documents}/Notes
ms ${XDG_MUSIC_DIR:-$HOME/Music}
px ${XDG_PICTURES_DIR:-$HOME/Pictures}
@@ -23,20 +25,20 @@ ap ~/Applications
dv ~/Dev
cm ~/Dev/cloud-maker
cs ~/Dev/sites/csstudent41.github.io
-vr ~/Dev/sites/vikas.rocks
+vrd ~/Dev/sites/vikas.rocks
vrc ~/Dev/sites/vikas.rocks/content
vrl ~/Dev/sites/vikas.rocks/layouts
vrp ~/Dev/sites/vikas.rocks/public
td ~/Dev/test
gd ~/GDrive/vartak/CS/sem6
-gf ~/GDrive/vartak/CS/sem6/practicals
-gp ~/GDrive/vartak/CS/sem6/journals
+gp ~/GDrive/vartak/CS/sem6/practicals
+gj ~/GDrive/vartak/CS/sem6/journals
gz ~/GDrive/vartak/CS/practical-zip/sem5
gn ~/GDrive/vartak/CS/sem6/notes
rs ~/GDrive/vartak/results
ph ~/Phone
stv ~/Phone/.stversions
-pw ~/Phone/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp\ Documents
+pw ~/Phone/Android/media/com.whatsapp.w4b/WhatsApp\ Business/Media/WhatsApp\ Business\ Documents
mn /mnt
stg ${STORAGE:-/mnt/storage}
diff --git a/.config/shell/bm-files b/.config/shell/bm-files
index 442b116..898e080 100644
--- a/.config/shell/bm-files
+++ b/.config/shell/bm-files
@@ -9,7 +9,7 @@ zp ~/.zprofile
xp ~/.xprofile
gi ~/.gitignore
zc ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/.zshrc
-zh ${XDG_DATA_HOME:-$HOME/.config}/zsh/history
+zh ${XDG_STATE_HOME:-$HOME/.local/state}/zsh/history
za ${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc
arc ${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc
spf ${XDG_CONFIG_HOME:-$HOME/.config}/shell/server.profile
@@ -22,8 +22,8 @@ xi ${XDG_CONFIG_HOME:-$HOME/.config}/X11/xinitrc
mm ${XDG_CONFIG_HOME:-$HOME/.config}/mimeapps.list
fdi ${XDG_CONFIG_HOME:-$HOME/.config}/fd/ignore
ssc ~/.ssh/config
-csh ~/Dev/csstudent41.github.io/layouts/_default/home.html
qn ${XDG_DOCUMENTS_HOME:-$HOME/Documents}/Notes/QuickNote.md
bm ${XDG_DOCUMENTS_HOME:-$HOME/Documents}/Notes/bookmarks.txt
akn ${XDG_DOCUMENTS_HOME:-$HOME/Documents}/Notes/ak47.txt
li ${XDG_DOCUMENTS_HOME:-$HOME/Documents}/latex/lorem-ipsum.txt
+vrh ~/Dev/sites/vikas.rocks/layouts/_default/home.html
diff --git a/.config/shell/profile b/.config/shell/profile
index c981fbc..234b1c2 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -68,6 +68,8 @@ export FZF_DEFAULT_OPTS="
--bind 'alt-space:toggle-preview,alt-w:toggle-preview-wrap'
--bind 'alt-enter:print-query'
--bind 'ctrl-alt-c:change-preview-window(up|left:50%|down|right:50%)'
+ --bind 'ctrl-alt-k:change-preview-window(50%|60%|70%|80%|90%)'
+ --bind 'ctrl-alt-j:change-preview-window(50%|40%|30%|20%)'
--bind 'ctrl-alt-a:select-all,ctrl-alt-d:deselect-all'
--bind 'alt-n:half-page-down,alt-p:half-page-up'
--bind 'alt-N:page-down,alt-P:page-up'
@@ -84,12 +86,12 @@ export FZF_DEFAULT_OPTS="
--bind 'alt-9:change-preview(printf \"%s\\\n\" {+})'
--bind 'alt-!:execute(less {})'
--bind 'alt-@:execute(\$PREVIEWER {} | less)'
- --bind 'alt-v:execute(echo {q} >> \"$FZF_HISTFILE\"; LESSOPEN=\"|preview %s\" less {})'
- --bind 'alt-e:execute(echo {q} >> \"$FZF_HISTFILE\"; eval \"\${EDITOR:-vi} {}\")'
- --bind 'ctrl-o:execute(echo {q} >> \"$FZF_HISTFILE\"; eval \"\${OPENER:-xdg-open} {}\")'
- --bind 'alt-O:execute(echo {q} >> \"$FZF_HISTFILE\"; mimeopen --ask {})'
- --bind 'alt-o:execute(echo {q} >> \"$FZF_HISTFILE\"; eval \"\${FILES:-lf} {}\")'
- --bind 'alt-D:become(echo {q} >> \"$FZF_HISTFILE\"; dirname {} )'
+ --bind 'ctrl-o:execute(append-to-history {q} \"$FZF_HISTFILE\"; eval \"\${OPENER:-xdg-open} {}\")'
+ --bind 'alt-v:execute(append-to-history {q} \"$FZF_HISTFILE\"; LESSOPEN=\"|preview %s\" less {})'
+ --bind 'alt-e:execute(append-to-history {q} \"$FZF_HISTFILE\"; eval \"\${EDITOR:-vi} {}\")'
+ --bind 'alt-O:execute(append-to-history {q} \"$FZF_HISTFILE\"; mimeopen --ask {})'
+ --bind 'alt-o:execute(append-to-history {q} \"$FZF_HISTFILE\"; eval \"\${FILES:-lf} {}\")'
+ --bind 'alt-D:become(append-to-history {q} \"$FZF_HISTFILE\"; dirname {} )'
"
## Custom themes for GTypist