ladybird/Base/etc/shellrc
Jelle Raaijmakers 9510425845 Shell: Add TMPDIR environment variable
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/
V1_chap08.html

  TMPDIR  This variable shall represent a pathname of a directory made
          available for programs that need a place to create temporary
          files.

Ports like PHP benefit from having this environment variable set, and
there exist a lot of scripts that assume the presence of such an
environment variable.
2021-06-04 23:44:59 +02:00

47 lines
856 B
Bash

#!sh
alias fm=FileManager
alias irc=IRCClient
alias mag=Magnifier
alias ms=Minesweeper
alias sh=Shell
alias sn=Snake
alias tb=Taskbar
alias wg=WidgetGallery
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 sl=Solitaire
alias ue=UserspaceEmulator
alias rgrep="grep -r"
alias egrep="grep -E"
alias ll='ls -l'
if [ "$(id -u)" = "0" ] {
prompt_color=31
} else {
prompt_color=32
}
export PROMPT="\\X\\u@\\h:\\w\\a\\e[$prompt_color;1m\\h\\e[0m:\\e[34;1m\\w\\e[0m \\p "
export HISTORY_AUTOSAVE_TIME_MS=10000
export TMPDIR=/tmp
PROGRAMS_ALLOWED_TO_MODIFY_DEFAULT_TERMIOS=(stty)