dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 11950c0f1f89aa91eb8284989d72b94cf7308b62
parent d92a8aafa2ad43a2506ae696e2911398e4d42ecf
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 11 Jan 2018 21:55:05 +0000

first terminal info script

Diffstat:
Azsh/.zsh/welcome.zsh | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/zsh/.zsh/welcome.zsh b/zsh/.zsh/welcome.zsh @@ -0,0 +1,15 @@ +# script run on first terminal + +PTS=$(ps -U $USER | awk '{ print $2 }' | grep "pts/" | uniq | wc -l) + +script() { + sysinfo2 + topydo +} + +setxkbmap -option ctrl:nocaps +set -o vi + +if [[ ${PTS} -lt "2" ]] ; then + script +fi