From 6cff034042ad80df83cd18d3e55877aaacbd3ad7 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sun, 2 Feb 2025 19:38:17 +0100 Subject: Add Archlinux and update Fedora/user --- Archlinux/root/.bashrc | 11 +++++++++++ Archlinux/user/.bashrc | 22 ++++++++++++++++++++++ Fedora/user/.bashrc | 4 ++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 Archlinux/root/.bashrc create mode 100644 Archlinux/user/.bashrc diff --git a/Archlinux/root/.bashrc b/Archlinux/root/.bashrc new file mode 100644 index 0000000..fddd246 --- /dev/null +++ b/Archlinux/root/.bashrc @@ -0,0 +1,11 @@ +alias ls='ls --color=auto' +alias grep='grep --color=auto' + +PS1="[\[\033[01;32m\]\u\[\033[00m\]@\h \w]\\$ "; export PS1 + +export HISTSIZE=100000 +export HISTCONTROL=ignorespace:erasedups +shopt -s checkwinsize + +export LANG=en_US.UTF-8 +export EDITOR=emacs diff --git a/Archlinux/user/.bashrc b/Archlinux/user/.bashrc new file mode 100644 index 0000000..5b735ee --- /dev/null +++ b/Archlinux/user/.bashrc @@ -0,0 +1,22 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +##PS1='[\u@\h \W]\$ ' + + +## custom ## +source /usr/share/git/completion/git-prompt.sh + +export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' + +export HISTSIZE=100000 +HISTFILESIZE=200000 +export HISTCONTROL=ignorespace:erasedups +export LANG=en_US.UTF-8 +shopt -s checkwinsize diff --git a/Fedora/user/.bashrc b/Fedora/user/.bashrc index a471971..37f4334 100644 --- a/Fedora/user/.bashrc +++ b/Fedora/user/.bashrc @@ -31,8 +31,8 @@ unset rc source /usr/share/git-core/contrib/completion/git-prompt.sh export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ ' -HISTSIZE=10000 -HISTFILESIZE=20000 +HISTSIZE=100000 +HISTFILESIZE=200000 HISTCONTROL=ignorespace:erasedups ## display ## -- cgit v1.3