Skip to content

Commit

Permalink
Merge pull request #7 from gramtech/master
Browse files Browse the repository at this point in the history
changed PS1 to use short hostname
  • Loading branch information
sebastienrousseau authored Mar 21, 2018
2 parents 4cc8811 + e10c797 commit c6f9999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bash/.bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ test -f "$HOME/.bashrc" && source "$HOME/.bashrc"
# ---------------------------------------------------------------------------

# Root prompt (😈)
SUDO_PS1="\[root@$(hostname -f) 😈: $ "
SUDO_PS1="\[root@$(hostname -s) 😈: $ "
export SUDO_PS1

# Normal prompt (👽)
PS1="$(hostname -f) 👽: $ "
PS1="$(hostname -s) 👽: $ "
export PS1


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reedia-dotfiles",
"version": "0.1.85",
"version": "0.1.87",
"description": "Dotfiles - A set of Mac OS X configuration files - Simply designed to fit your shell life.",
"keywords": [
"dotfiles",
Expand Down

0 comments on commit c6f9999

Please sign in to comment.