This file contains 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
############################################################ | |
# aliases | |
############################################################ | |
alias ls='ls --color=auto' | |
alias l='ls -CF' | |
alias la='ls -a' | |
alias ll='ls -lkh' | |
alias lla='ll -a' | |
alias lrt='ll -rt' | |
alias lrta='lrt -a' |
This file contains 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
#!/bin/bash | |
############################################################ | |
# init helpers | |
############################################################ | |
# helper to source file if it exists and is not zero in size | |
function source_if_exists() { | |
for arg in $@; do | |
if [[ -s $arg ]]; then | |
if_debug_echo $arg | |
source $arg |
NewerOlder