summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc12
1 files changed, 7 insertions, 5 deletions
diff --git a/.bashrc b/.bashrc
index 56c6f08..4f7690e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,8 +1,7 @@
#basics
stty -ixon
export MOZ_DBUS_REMOTE=1
-alias vivaldi-snapshot="vivaldi-snapshot --use-gl=egl"
-export BROWSER="vivaldi-snapshot"
+export BROWSER="vivaldi"
export EDITOR="vim"
# keep dictionaries in ~/bin/
export STARDICT_DATA_DIR="$HOME/bin/dict/"
@@ -93,9 +92,12 @@ export PS1="\[\033[33;1m\]\[\033[m\]\$(pwd-prompt.bash) \[$txtred\]\$git_dirty\[
# Complete all the things
source ~/bin/pass-completion.bash
-source /usr/share/fzf/key-bindings.bash
-source /usr/share/fzf/completion.bash
-
+# arch:
+#source /usr/share/fzf/key-bindings.bash
+#source /usr/share/fzf/completion.bash
+#debian:
+source /usr/share/doc/fzf/examples/key-bindings.bash
+source /usr/share/bash-completion/completions/fzf
fzf-snippet() {
selected="$(cat ~/documents/snippets | sed '/^$/d' | sort -n | fzf -e -i )"
# remove tags, leading and trailing spaces, also no newline