diff --git a/.bashrc b/.bashrc index 535411f..ab03ff4 100644 --- a/.bashrc +++ b/.bashrc @@ -85,11 +85,28 @@ calc() { echo "$@" | bc } +# Show content of something, `ls` for dirs (and special files), `cat` for files +lscat() { + [[ $# -eq 0 ]] && ls -la && return + printnewline="" + for f in "$@"; do + [[ $printnewline ]] && echo + printnewline=1 + if [[ -f $f ]]; then + [[ $# -gt 1 ]] && echo "-- cat \"$f\"" + cat "$f" + else + [[ $# -gt 1 ]] && echo "-- ls \"$f\"" + ls -la "$f" + fi + done +} + # Define colors for bash prompt (will also be used in .bashrc.local) TRED='\[\e[0;31m\]' # Red TGREEN='\[\e[0;32m\]' # Green TCYANB='\[\e[1;36m\]' # Cyan bold - TBLUE='\[\e[1;34m\]' # Blue + TBLUE='\[\e[0;34m\]' # Blue TWHITEB='\[\e[1;37m\]' # White bold TRESET='\[\e[0m\]' # Text Reset diff --git a/tmp/kanaya/.gtkrc-2.0 b/tmp/kanaya/.gtkrc-2.0 new file mode 100644 index 0000000..d67dab5 --- /dev/null +++ b/tmp/kanaya/.gtkrc-2.0 @@ -0,0 +1,14 @@ +# -- THEME AUTO-WRITTEN DO NOT EDIT +include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc" + +style "user-font" { + font_name = "Sans 9" +} + +widget_class "*" style "user-font" + +gtk-font-name="Sans 9" + +include "/home/lexi/.gtkrc.mine" + +# -- THEME AUTO-WRITTEN DO NOT EDIT