mirror of https://github.com/tiyn/dotfiles
parent
7b9b5b1143
commit
fbbd450e01
@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -o vi
|
||||
stty -ixon # Disable ctrl-s and ctrl-q.
|
||||
shopt -s autocd #Allows you to cd into directory merely by typing the directory name.
|
||||
HISTSIZE= HISTFILESIZE= # Infinite history.
|
||||
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
|
||||
|
||||
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
|
||||
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
|
||||
|
||||
pfetch && echo $(vrms) | grep "non-free"
|
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
shopt -s autocd #Allows you to cd into directory without cd
|
@ -0,0 +1,16 @@
|
||||
#!/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"
|
Loading…
Reference in new issue