1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-28 14:07:46 +01:00

cleaning up shells

This commit is contained in:
tiynger 2019-10-03 18:05:54 +02:00
parent 8c32e9fb0b
commit 28257708ee
4 changed files with 25 additions and 2 deletions

View File

@ -1 +1 @@
.config/shell/shellrc
.config/bash/bashrc

13
.config/bash/bashrc Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
shopt -s autocd
set -o vi
stty -ixon # Disable ctrl-s and ctrl-q.
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/shhistory
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
pfetch && echo $(vrms) | grep "non-free"

10
.config/zsh/zshrc Normal file
View File

@ -0,0 +1,10 @@
set -o vi
stty -ixon # Disable ctrl-s and ctrl-q.
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/shhistory
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
pfetch && echo $(vrms) | grep "non-free"

2
.zshrc
View File

@ -1 +1 @@
.config/shell/shellrc
.config/zsh/zshrc