Skip to content

Pieces of code and settings that make life more easier

Notifications You must be signed in to change notification settings

graukin/workspace_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workspace_setup

Pieces of code and settings that make life more easier

Changes in .bashrc

Prompt

PS1='\[\e[00;35m\]\T\[\e[0m\]-${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]⚔ '

results in

coloured prompt

Define variables in .bashrc

  • CROND_PATH - path to file for cron demon. There would crongrep go
  • MAIN_LOGIN - login that is used in ssh and in other services

include other files

for type in common git svn
do
    if [ -f ~/.bashrc_${type} ]
    then
        . ~/.bashrc_${type}
    fi
done

Additional files

  • .bashrc_common - aliases and functions for comfort work on mostly any Linux
  • .bashrc_svn - all for SVN
  • .bashrc_git - all for Git
  • .vimrc - config for Vim

About

Pieces of code and settings that make life more easier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published