Linux: Setup

Here's some notes to myself on how to setup Solaris at work.
From this site I figured out how to setup the home, end and delete keys to my liking. Put this in my ~/.inputrc file:
# Home Key
"\e[7~":beginning-of-line

# End Key
"\e[8~":end-of-line

# Delete Key
"\e[3~":delete-char
This is especially handy since I'm using GNU screen and the Ctrl-A key doesn't work as the Home key.
In my ~/.profile file I have added
export PS1="[\w]\n${MYHOST}% "

Which puts the path name on a separate line.

And here I got the trick of using ^from^to^ to search and replace my last command.

Comments

Popular posts from this blog

Shortest Sudoku solver in Python

Seven Segment Display in Inkscape

Dot to Png