Skip to content

Commit

Permalink
ls color and gpu off
Browse files Browse the repository at this point in the history
  • Loading branch information
hackwa committed Jan 22, 2016
1 parent 1019a9f commit 0fc5a4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scripts/nvidia
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

util=$(nvidia-smi | grep -E "\d*\%" | awk '{print $13}')
if [[ $util == '' ]]; then
util="off"
fi
echo "Geforce gtx 950M: $util"
Empty file modified tmux.conf
100755 → 100644
Empty file.
3 changes: 2 additions & 1 deletion zshrc
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ alias decrypt='sudo cryptsetup open --type luks /dev/loop0 root;sudo mount /dev/
alias encrypt='sudo umount /mnt;sudo cryptsetup close root'
alias t='tmux'
alias diff='colordiff'
alias l='ls -Alhr'
alias l='ls -Alhr --color'
alias ls='ls --color'
alias say='figlet -f script'
alias evil='cowsay -f /usr/share/cowsay/cows/daemon.cow'
alias mv='mv -i'
Expand Down

0 comments on commit 0fc5a4f

Please sign in to comment.