Skip to main content
2 of 2
deleted 13 characters in body; edited tags
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

OpenBSD - How does one set an alias?

I am running the latest OpenBSD and I cannot figure out how to set a simple alias, something along the lines of cls=clear. I've tried putting it in ~/.cshrc and in ~/.profile. I've tried:

alias cls clear
alias cls=clear
alias cls='clear'
alias cls="clear"

Nothing works.

On another but perhaps related note: If echo $SHELL tells me I'm using /bin/ksh, why a ~/.cshrc instead of ~/.kshrc?

slaurel
  • 31
  • 1
  • 2