Update rc init scripts
- Move system specific setup to rc.$SYS scripts - Write configure_ls function (based on previous anonymous function) that takes the full path to an ls binary - Create system specific script for FreeBSD (nothing in it yet)
This commit is contained in:
parent
a11db44f43
commit
9ea891311c
4 changed files with 61 additions and 34 deletions
16
rc.darwin
Normal file
16
rc.darwin
Normal file
|
@ -0,0 +1,16 @@
|
|||
# .rc.darwin
|
||||
# vim: ft=zsh
|
||||
# Interactive shell setup for Darwin systems
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
|
||||
alias acls='command ls -le'
|
||||
|
||||
# These things might have been installed by Homebrew, and I like the GNU versions better.
|
||||
binary_exists gdircolors && alias dircolors='gdircolors'
|
||||
binary_exists gfind && alias find='gfind'
|
||||
binary_exists gnuindent && alias indent='gnuindent'
|
||||
|
||||
if binary_exists gls; then
|
||||
configure_ls `which gls`
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue