Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a space after prompt end #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# .bashrc file
# By Balaji S. Srinivasan ([email protected])
#
Expand Down Expand Up @@ -162,14 +163,14 @@ 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 3)\]\u@\h:\[$(tput setaf 5)\]\w\[$(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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/home/ubuntu/fibonacci.js
/home/ubuntu/#fibonacci.js#
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down