mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
Shell: Load a different rc file when in POSIX mode
This commit is contained in:
parent
832478ad0c
commit
d997b794fa
3 changed files with 48 additions and 2 deletions
39
Base/etc/posixshrc
Normal file
39
Base/etc/posixshrc
Normal file
|
@ -0,0 +1,39 @@
|
|||
#!sh
|
||||
|
||||
alias fm=FileManager
|
||||
alias mag=Magnifier
|
||||
alias sh=Shell
|
||||
alias tb=Taskbar
|
||||
alias te=TextEditor
|
||||
alias he=HexEditor
|
||||
alias pp=PixelPaint
|
||||
alias iv=ImageViewer
|
||||
alias pi=Piano
|
||||
alias calc=Calculator
|
||||
alias calendar=Calendar
|
||||
alias ins=Inspector
|
||||
alias sp=SoundPlayer
|
||||
alias help=Help
|
||||
alias br=Browser
|
||||
alias hs=HackStudio
|
||||
alias sdb=Debugger
|
||||
alias sm=SystemMonitor
|
||||
alias pv=Profiler
|
||||
alias ws=WebServer
|
||||
alias ue=UserspaceEmulator
|
||||
alias fe=FontEditor
|
||||
alias ss=Spreadsheet
|
||||
alias vp=VideoPlayer
|
||||
|
||||
alias ll='ls -l'
|
||||
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
prompt_color=31
|
||||
else
|
||||
prompt_color=32
|
||||
fi
|
||||
|
||||
export PROMPT="\\X\\u@\\h:\\w\\a\\e[$prompt_color;1m\\h\\e[0m:\\e[34;1m\\w\\e[0m \\p "
|
||||
export TMPDIR=/tmp
|
||||
|
||||
PROGRAMS_ALLOWED_TO_MODIFY_DEFAULT_TERMIOS="stty"
|
Loading…
Add table
Add a link
Reference in a new issue