aboutsummaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-07-12 16:27:52 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-07-12 16:27:52 +0300
commite3bbee81de559c1b4dea7a83d46da3b4e00cc2a8 (patch)
tree697bca3add8a534bd6ed6a82308ef5869cc78393 /.bashrc
parent2d5fa70da78d05147a4055c51c983b93a4bc32dd (diff)
downloaddotfiles-e3bbee81de559c1b4dea7a83d46da3b4e00cc2a8.tar.gz
dotfiles-e3bbee81de559c1b4dea7a83d46da3b4e00cc2a8.zip
move to GNU stow approach on managing dotfiles
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc54
1 files changed, 0 insertions, 54 deletions
diff --git a/.bashrc b/.bashrc
deleted file mode 100644
index 0fe0b47..0000000
--- a/.bashrc
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# ~/.bashrc
-#
-
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-
-# vi mode
-set -o vi
-
-# aliases
-alias ls='ls --color=auto --group-directories-first'
-alias ll='ls -lAh'
-alias cat='bat -p'
-alias mocp='mocp -M "~/.config/moc"'
-alias ssh='TERM=rxvt ssh' # fix alacritty term issues
-alias ..='cd ..'
-
-# see https://www.atlassian.com/git/tutorials/dotfiles
-# and https://youtu.be/tBoLDpTWVOM
-alias config='/usr/bin/git --git-dir=$HOME/Documents/dotfiles --work-tree=$HOME'
-
-alias brc='nvim ~/.bashrc && source ~/.bashrc'
-alias vrc='nvim ~/.config/nvim/init.vim'
-
-alias v='nvim'
-alias fsl='fossil'
-
-PS1='[\u@\h \W]\$ '
-
-# use gpg authentication key for ssh auth
-SSH_AUTH_SOCK=$( gpgconf --list-dirs agent-ssh-socket )
-export SSH_AUTH_SOCK
-gpgconf --launch gpg-agent
-
-# fzf bindings and tweaks
-source /usr/share/fzf/key-bindings.bash
-source /usr/share/fzf/completion.bash
-export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
-# shellcheck disable=SC2016
-export FZF_CTRL_T_COMMAND='$FZF_DEFAULT_COMMAND'
-
-FOSSILS_HOME=$HOME/Documents/Fossils
-export FOSSILS_HOME
-
-# quickly cd into fossil repo
-fslcd() {
- _fsl_checkout=$(fossil all ls -c | fzf +m)
- cd "$_fsl_checkout" || return
-}
-
-# starship prompt
-eval "$(starship init bash)"
-