all repos — dotfiles @ e1ae968a578a95fdb509a15d1852a4122c10e5e8

personal dotfiles

.bashrc (view raw)

 1#
 2# ~/.bashrc
 3#
 4
 5# If not running interactively, don't do anything
 6[[ $- != *i* ]] && return
 7
 8alias ls='ls --color=auto --group-directories-first'
 9alias ll='ls -lAh'
10alias cat='bat -p'
11alias ssh='TERM=rxvt ssh'
12PS1='[\u@\h \W]\$ '
13
14export PATH=$PATH:/home/aaoth/.gem/ruby/2.7.0/bin
15
16# gpg-auth
17export SSH_AUTH_SOCK=$( gpgconf --list-dirs agent-ssh-socket )
18gpgconf --launch gpg-agent
19
20# fzf bindings and tweaks
21source /usr/share/fzf/key-bindings.bash
22source /usr/share/fzf/completion.bash
23export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
24export FZF_CTRL_T_COMMAND='$FZF_DEFAULT_COMMAND'
25
26pacs() {
27    sudo pacman -Syy $(pacman -Ssq | fzf -m --preview="pacman -Si {}" --preview-window=:hidden --bind=space:toggle-preview)
28}
29alias config='/usr/bin/git --git-dir=/home/aaoth/dotfiles --work-tree=/home/aaoth'