1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-01 17:07:45 +02:00
dotfiles/.config/shellrc
2019-10-03 17:06:10 +02:00

17 lines
550 B
Bash

#!/bin/bash
set -o vi
stty -ixon # Disable ctrl-s and ctrl-q.
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
# Load options depending on current shell
if [ $(echo $0) = "/bin/zsh" ]; then
[ -f "$HOME/.config/zspecific" ] && source "$HOME/.config/zspecific"
fi
if [ $(echo $0) = "/bin/bash" ]; then
[ -f "$HOME/.config/bashspecific" ] && source "$HOME/.config/bashspecific"
fi
pfetch && echo $(vrms) | grep "non-free"