-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
33 lines (25 loc) · 831 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Minimal bashrc for user
# vim: filetype=sh
#
# Set default permissions for new files to be public
# Normally you would set this to 77 (private you only)
# but when doing web work 22 (public readable) works better
umask 22
# skip rest if NOT an interactive login (remote command)
[[ "$-" == *i* ]] || return
# Colorful and more meanful prompt for software environments
PS1='\[\e[36m\]\h\[\e[0m\]:\[\e[33m\]\w\[\e[0m\]\$ '
# save commands between bash runs
HISTFILE=~/.bash_history
# aliases to make life easier
alias dir='ls -Fq'
alias ls='ls -Fq'
alias ll='ls -Fla'
alias l='less'
# color ls -- not very nice looking in this environment
#alias ls='ls -Fq -T 0 --color=tty'
# where is the "laravel" command, if present
if [[ -x ~/.composer/vendor/bin/laravel ]]; then
alias laravel=~/.composer/vendor/bin/laravel
fi