aboutsummaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-11-04 13:32:01 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-11-04 13:32:01 +0300
commit8a7e8b14255bd71aeb4272a234aee824cf1280e0 (patch)
tree53a53b771800225217d4995efd56e0f9662f8630 /.bashrc
parente1ae968a578a95fdb509a15d1852a4122c10e5e8 (diff)
downloaddotfiles-8a7e8b14255bd71aeb4272a234aee824cf1280e0.tar.gz
dotfiles-8a7e8b14255bd71aeb4272a234aee824cf1280e0.zip
add comments to .bashrc
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 9312396..320ffdc 100644
--- a/.bashrc
+++ b/.bashrc
@@ -5,15 +5,18 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+# aliases
alias ls='ls --color=auto --group-directories-first'
alias ll='ls -lAh'
alias cat='bat -p'
alias ssh='TERM=rxvt ssh'
+alias config='/usr/bin/git --git-dir=/home/aaoth/dotfiles --work-tree=/home/aaoth'
+
PS1='[\u@\h \W]\$ '
export PATH=$PATH:/home/aaoth/.gem/ruby/2.7.0/bin
-# gpg-auth
+# use gpg authentication key for ssh auth
export SSH_AUTH_SOCK=$( gpgconf --list-dirs agent-ssh-socket )
gpgconf --launch gpg-agent
@@ -23,7 +26,7 @@ source /usr/share/fzf/completion.bash
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
export FZF_CTRL_T_COMMAND='$FZF_DEFAULT_COMMAND'
+# ripped off from nixcasts' .bashrc
pacs() {
sudo pacman -Syy $(pacman -Ssq | fzf -m --preview="pacman -Si {}" --preview-window=:hidden --bind=space:toggle-preview)
}
-alias config='/usr/bin/git --git-dir=/home/aaoth/dotfiles --work-tree=/home/aaoth'