mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 11:44:37 +08:00
removed bash confi files because provided by bash pkg
This commit is contained in:
parent
84cc2f5c30
commit
1b50e4f928
@ -4,7 +4,7 @@
|
||||
|
||||
pkgname=chakra-live-skel
|
||||
pkgver=1.0 # think if replace the version with the release date of the iso: 2014.05
|
||||
pkgrel=4
|
||||
pkgrel=6
|
||||
pkgdesc="The inital user configuration of a Chakra system"
|
||||
arch=('x86_64')
|
||||
url="http://www.chakraos.org/"
|
||||
|
@ -1 +0,0 @@
|
||||
. $HOME/.bashrc
|
@ -1,63 +0,0 @@
|
||||
if [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
xhost +local:root > /dev/null 2>&1
|
||||
|
||||
complete -cf sudo
|
||||
|
||||
shopt -s cdspell
|
||||
shopt -s checkwinsize
|
||||
shopt -s cmdhist
|
||||
shopt -s dotglob
|
||||
shopt -s expand_aliases
|
||||
shopt -s extglob
|
||||
shopt -s histappend
|
||||
shopt -s hostcomplete
|
||||
|
||||
export HISTSIZE=10000
|
||||
export HISTFILESIZE=${HISTSIZE}
|
||||
export HISTCONTROL=ignoreboth
|
||||
|
||||
alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
|
||||
alias ll='ls -l --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
|
||||
alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
|
||||
alias grep='grep --color=tty -d skip'
|
||||
alias cp="cp -i" # confirm before overwriting something
|
||||
alias df='df -h' # human-readable sizes
|
||||
alias free='free -m' # show sizes in MB
|
||||
alias vp='vim PKGBUILD'
|
||||
alias vs='vim SPLITBUILD'
|
||||
|
||||
# ex - archive extractor
|
||||
# usage: ex <file>
|
||||
ex ()
|
||||
{
|
||||
if [ -f $1 ] ; then
|
||||
case $1 in
|
||||
*.tar.bz2) tar xjf $1 ;;
|
||||
*.tar.gz) tar xzf $1 ;;
|
||||
*.bz2) bunzip2 $1 ;;
|
||||
*.rar) unrar x $1 ;;
|
||||
*.gz) gunzip $1 ;;
|
||||
*.tar) tar xf $1 ;;
|
||||
*.tbz2) tar xjf $1 ;;
|
||||
*.tgz) tar xzf $1 ;;
|
||||
*.zip) unzip $1 ;;
|
||||
*.Z) uncompress $1;;
|
||||
*.7z) 7z x $1 ;;
|
||||
*) echo "'$1' cannot be extracted via ex()" ;;
|
||||
esac
|
||||
else
|
||||
echo "'$1' is not a valid file"
|
||||
fi
|
||||
}
|
||||
|
||||
# vim stuff
|
||||
export EDITOR=vim
|
||||
export VISUAL=vim
|
||||
alias vi=vim
|
||||
|
||||
|
||||
# prompt
|
||||
PS1='[\u@\h \W]\$ '
|
Loading…
Reference in New Issue
Block a user