Created
September 10, 2012 03:15
-
-
Save tiye/3688629 to your computer and use it in GitHub Desktop.
new to arch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # ~/.bashrc | |
| # | |
| # If not running interactively, don't do anything | |
| [[ $- != *i* ]] && return | |
| alias ls='ls --color=auto' | |
| PS1='[\u@\h \W]\$ ' | |
| ## added by chen | |
| export LANG=en_US.UTF-8 | |
| export LC_ALL="en_US.UTF-8" | |
| [[ -s ~/.autojump/etc/profile.d/autojump.bash ]] && source ~/.autojump/etc/profile.d/autojump.bash | |
| HISTCONTROL=ignoreboth | |
| # append to the history file, don't overwrite it | |
| shopt -s histappend | |
| # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
| unset HISTFILESIZE | |
| HISTSIZE=1000000 | |
| export PROMPT_COMMAND="history -a; history -n" | |
| PS1='\[\033[01;34m\]������ \[\033[00m\]' | |
| export EDITOR="vim" | |
| alias 00aval='c /etc/nginx/sites-available' | |
| alias 00enab='c /etc/nginx/sites-enabled' | |
| function l(){ | |
| ls -CF $1 $2; | |
| echo -e "\033[36m ��� $[$(ls -l | wc -l) - 1] \033[0m"; | |
| } | |
| function c(){ | |
| cd $1 $2; | |
| l; | |
| } | |
| if [ -f /etc/bash_completion ] && ! shopt -oq posix; then | |
| . /etc/bash_completion | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # exec gnome-session | |
| exec ck-launch-session gnome-session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ������ locale | |
| LANG=en_US.UTF-8 | |
| LC_CTYPE="en_US.UTF-8" | |
| LC_NUMERIC="en_US.UTF-8" | |
| LC_TIME="en_US.UTF-8" | |
| LC_COLLATE="en_US.UTF-8" | |
| LC_MONETARY="en_US.UTF-8" | |
| LC_MESSAGES="en_US.UTF-8" | |
| LC_PAPER="en_US.UTF-8" | |
| LC_NAME="en_US.UTF-8" | |
| LC_ADDRESS="en_US.UTF-8" | |
| LC_TELEPHONE="en_US.UTF-8" | |
| LC_MEASUREMENT="en_US.UTF-8" | |
| LC_IDENTIFICATION="en_US.UTF-8" | |
| LC_ALL=en_US.UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # /etc/rc.conf - configuration file for initscripts | |
| # | |
| # Most of rc.conf has been replaced by various other configuration | |
| # files. See archlinux(7) for details. | |
| # | |
| # For more details on rc.conf see rc.conf(5). | |
| # | |
| # DAEMONS=(syslog-ng network crond dbus) | |
| DAEMONS=(syslog-ng crond dbus networkmanager) | |
| # Storage | |
| # | |
| # USEDMRAID="no" | |
| # USELVM="no" | |
| # Network | |
| # | |
| # interface= | |
| # address= | |
| # netmask= | |
| # gateway= | |
| HOSTNAME=up | |
| dbus_enable="YES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment