From 1661d4e03fe51d465139cc23eb04e60ba1d4674c Mon Sep 17 00:00:00 2001 From: carlosazaustre Date: Fri, 5 Jul 2013 15:55:11 +0000 Subject: [PATCH 1/4] added a space after prompt --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 9b806c272..c6946c5d0 100644 --- a/.bashrc +++ b/.bashrc @@ -162,7 +162,8 @@ shopt -s histappend # Make prompt informative # See: http://www.ukuug.org/events/linux2003/papers/bash_tips/ -PS1="\[\033[0;34m\][\u@\h:\w]$\[\033[0m\]" +PS1="\[\033[0;34m\][\u@\h:\w]$\[\033[0m\] " + ## ----------------------- ## -- 2) Set up aliases -- From 0acdece2514293fcf39c36f8350270ac7039f0dd Mon Sep 17 00:00:00 2001 From: carlosazaustre Date: Fri, 5 Jul 2013 16:33:16 +0000 Subject: [PATCH 2/4] change color prompt and remove alias rm -i --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index c6946c5d0..827956fa0 100644 --- a/.bashrc +++ b/.bashrc @@ -162,15 +162,15 @@ shopt -s histappend # Make prompt informative # See: http://www.ukuug.org/events/linux2003/papers/bash_tips/ -PS1="\[\033[0;34m\][\u@\h:\w]$\[\033[0m\] " - +# PS1="\[\033[0;34m\][\u@\h:\w]$\[\033[0m\] " +PS1='\[$(tput sgr0)\][\[$(tput setaf 2)\]\u\[$(tput setaf 3)\]@\h:\w\[$(tput sgr0)]\[$(tput sgr0)\]$(tput setaf 5)\]\[$(tput sgr0)$(tput setaf 2)\] $\[$(tput sgr0)\] ' ## ----------------------- ## -- 2) Set up aliases -- ## ----------------------- # 2.1) Safety -alias rm="rm -i" +# alias rm="rm -i" alias mv="mv -i" alias cp="cp -i" set -o noclobber From dfdee5cbbdfb34f22a2444282aec21282bd4190c Mon Sep 17 00:00:00 2001 From: carlosazaustre Date: Sun, 7 Jul 2013 10:20:53 +0000 Subject: [PATCH 3/4] Change prompt colours --- .bashrc | 6 +++--- .../.saves-8194-domU-12-31-39-09-84-1E.compute-1.internal~ | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .emacs.d/auto-save-list/.saves-8194-domU-12-31-39-09-84-1E.compute-1.internal~ diff --git a/.bashrc b/.bashrc index 827956fa0..1ce4cf966 100644 --- a/.bashrc +++ b/.bashrc @@ -1,3 +1,4 @@ + # .bashrc file # By Balaji S. Srinivasan (balajis@stanford.edu) # @@ -162,9 +163,8 @@ shopt -s histappend # Make prompt informative # See: http://www.ukuug.org/events/linux2003/papers/bash_tips/ -# PS1="\[\033[0;34m\][\u@\h:\w]$\[\033[0m\] " -PS1='\[$(tput sgr0)\][\[$(tput setaf 2)\]\u\[$(tput setaf 3)\]@\h:\w\[$(tput sgr0)]\[$(tput sgr0)\]$(tput setaf 5)\]\[$(tput sgr0)$(tput setaf 2)\] $\[$(tput sgr0)\] ' - +# PS1="\[\033[0;34m\][\u@\h:\w]$\[\033[0m\] " +PS1='\[$(tput sgr0)\][\[$(tput setaf 3)\]\u@\h:\[$(tput setaf 5)\]\w\[$(tput sgr0)\]]\[$(tput setaf 2)\] $\[$(tput sgr0)\] ' ## ----------------------- ## -- 2) Set up aliases -- ## ----------------------- diff --git a/.emacs.d/auto-save-list/.saves-8194-domU-12-31-39-09-84-1E.compute-1.internal~ b/.emacs.d/auto-save-list/.saves-8194-domU-12-31-39-09-84-1E.compute-1.internal~ new file mode 100644 index 000000000..b243844b2 --- /dev/null +++ b/.emacs.d/auto-save-list/.saves-8194-domU-12-31-39-09-84-1E.compute-1.internal~ @@ -0,0 +1,2 @@ +/home/ubuntu/fibonacci.js +/home/ubuntu/#fibonacci.js# From 9c07d4f7289bc5207c37a7d95e1c16b2af6d1baa Mon Sep 17 00:00:00 2001 From: carlosazaustre Date: Sun, 7 Jul 2013 12:16:01 +0000 Subject: [PATCH 4/4] modified README.m --- .../.saves-14175-domU-12-31-39-09-84-1E.compute-1.internal~ | 0 .../.saves-14438-domU-12-31-39-09-84-1E.compute-1.internal~ | 0 README.md | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .emacs.d/auto-save-list/.saves-14175-domU-12-31-39-09-84-1E.compute-1.internal~ create mode 100644 .emacs.d/auto-save-list/.saves-14438-domU-12-31-39-09-84-1E.compute-1.internal~ diff --git a/.emacs.d/auto-save-list/.saves-14175-domU-12-31-39-09-84-1E.compute-1.internal~ b/.emacs.d/auto-save-list/.saves-14175-domU-12-31-39-09-84-1E.compute-1.internal~ new file mode 100644 index 000000000..e69de29bb diff --git a/.emacs.d/auto-save-list/.saves-14438-domU-12-31-39-09-84-1E.compute-1.internal~ b/.emacs.d/auto-save-list/.saves-14438-domU-12-31-39-09-84-1E.compute-1.internal~ new file mode 100644 index 000000000..e69de29bb diff --git a/README.md b/README.md index c0d0db776..486900276 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ configure your `bash` and `emacs` development environment as follows: ```sh cd $HOME -git clone https://github.com/startup-class/dotfiles.git +git clone https://github.com/carlosazaustre/dotfiles.git ln -sb dotfiles/.screenrc . ln -sb dotfiles/.bash_profile . ln -sb dotfiles/.bashrc . @@ -14,7 +14,7 @@ mv .emacs.d .emacs.d~ ln -s dotfiles/.emacs.d . ``` -See also http://github.com/startup-class/setup to install prerequisite +See also http://github.com/carlosazaustre/setup to install prerequisite programs. If all goes well, in addition to a more useful prompt, now you can do `emacs -nw hello.js` and hitting `C-c!` to launch an interactive SSJS REPL, among many other features. See the