aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/bashrc b/bashrc
index b95c2d9..df2bc28 100644
--- a/bashrc
+++ b/bashrc
@@ -24,9 +24,8 @@ export PS1='\[\033[01;36m\][\u@\h\[\033[01;37m\] \W\[\033[01;36m\]]\$\[\033[00m\
# echo "output" >| file.txt to do it manually
set -o noclobber
-# nvim as vim
#alias vim='/usr/bin/nvim'
-# alias vi='/usr/bin/vim'
+alias vi='/usr/bin/vim'
export EDITOR=vim
# export ALTERNATE_EDITOR=""
# export EDITOR="emacsclient -t" # $EDITOR opens in terminal
@@ -84,6 +83,10 @@ alias brandom='beet play "$(beet random -p)"'
alias qn2firefox='pandoc /home/lemon/Documents/Notes/quicknote.md -o /tmp/quicknote.html && firefox /tmp/quicknote.html'
alias sync-tunnel='ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net'
+grepfishhistory () {
+ grep "$1" ~/.local/share/fish/fish_history |cut -f3- -d' '
+}
+
# Environment variables
export LEDGER_FILE="$HOME/Budget/hledger/budget.ledger"
#export TERM="screen-256color" arch wiki says not to set this here.
@@ -120,9 +123,6 @@ read_and_review (){
alias rnr=read_and_review
-# fzf
-source /usr/share/fzf/key-bindings.bash
-source /usr/share/fzf/completion.bash
# gpg
export GPG_TTY="$(tty)"