aboutsummaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-11-04 13:29:41 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-11-04 13:29:41 +0300
commite1ae968a578a95fdb509a15d1852a4122c10e5e8 (patch)
tree51eb6e0e6ad9cab90fd5a3a1dcf752fa3d8ac436 /.bashrc
downloaddotfiles-e1ae968a578a95fdb509a15d1852a4122c10e5e8.tar.gz
dotfiles-e1ae968a578a95fdb509a15d1852a4122c10e5e8.zip
init
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..9312396
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,29 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto --group-directories-first'
+alias ll='ls -lAh'
+alias cat='bat -p'
+alias ssh='TERM=rxvt ssh'
+PS1='[\u@\h \W]\$ '
+
+export PATH=$PATH:/home/aaoth/.gem/ruby/2.7.0/bin
+
+# gpg-auth
+export SSH_AUTH_SOCK=$( gpgconf --list-dirs agent-ssh-socket )
+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'
+export FZF_CTRL_T_COMMAND='$FZF_DEFAULT_COMMAND'
+
+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'