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 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Archlinux/root/.bashrc create mode 100644 Archlinux/user/.bashrc (limited to 'Archlinux') 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 -- cgit v1.3