alias for ls -lt | head -5 & bash prompt on top.
authorpatrick nsukami <ndkpatt@gmail.com>
Sun, 26 Jul 2015 12:26:28 +0000 (12:26 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Sun, 26 Jul 2015 12:26:28 +0000 (12:26 +0000)
.bash_aliases
.bashrc

index 3fade64..e75a28a 100644 (file)
@@ -169,4 +169,6 @@ alias gpg_search="gpg --search-keys --keyserver "
 alias gpg_enc="gpg --encrypt --recipient "
 alias gpg_dec="gpg --decrypt "
 
-alias bios='sudo dmidecode -t 1 | grep "Manufacturer\|Product Name\|Serial Number" | tr -d "\t" | sed "s/Manufacturer//" && echo -ne "\nBIOS" && sudo dmidecode -t 0 | grep "Vendor\|Version\|Release" | tr -d "\t" | sed "s/Vendor//"'
+alias my_bios='sudo dmidecode -t 1 | grep "Manufacturer\|Product Name\|Serial Number" | tr -d "\t" | sed "s/Manufacturer//" && echo -ne "\nBIOS" && sudo dmidecode -t 0 | grep "Vendor\|Version\|Release" | tr -d "\t" | sed "s/Vendor//"'
+
+alias ll5='ll -tl | head -4'
diff --git a/.bashrc b/.bashrc
index b0b7218..2902dd4 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -172,4 +172,11 @@ eval `gpg-agent --daemon`
 tmux list-sessions 2> /dev/null
 
 # always put prompt at bottom
-PS1='\[$(tput cup "$LINES")\]'$PS1
+# PS1="\[$(tput cup "$LINES")\]"$PS1
+
+
+# if [ -z "$VIRTUAL_ENV" ]; then
+#     PS1="$VIRTUAL_ENV"'\[\e[$LINES;1H\]'$PS1
+# else
+#     PS1='\[\e[$LINES;1H\]'$PS1
+# fi