-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell_aliases
More file actions
37 lines (31 loc) · 992 Bytes
/
shell_aliases
File metadata and controls
37 lines (31 loc) · 992 Bytes
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
33
34
35
36
37
# vim: set filetype=sh:
# Aliases to some usual commands
# This file content should be kept compatible with bash / zsh ...
# ls with file type indicator (-F)
case "$ALIX_PLATFORM" in
Darwin)
# -G enable colors on Mac OS X
alias ls='ls -G -F'
alias quicklook='qlmanage -p'
;;
*)
# On other platform, assumes GNU ls is installed
alias ls='ls --color=auto -F'
;;
esac
# rubygems-integration is broken
# * Fails to override bin_path https://bugs.debian.org/710814
# * Gem.datadir does not return proper debianlized value
# https://bugs.debian.org/845045
#alias bundle="DEBIAN_DISABLE_RUBYGEMS_INTEGRATION=1 bundle"
alias ll='ls -l'
alias tree='tree -ACF'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
# Took me a decade until I suddenly thought about those:
alias good='git bisect good'
alias bad='git bisect bad'
# cal starts the week with Sunday
# ncal is a confusing transposed calendar. -b flips it
alias cal='ncal -b'