Steps to reproduce:
Run 'env' with the following ~/.plush/env:
# ~/.plush/env
#
# This file is sourced by plush when it interactive.
# It is an interactive shell if any of these are true:
# * stdin and stderr are terminals
# * invoked with -i option
# * started in web server mode (-w)
# In addition, real and effictive uids & gids must be the same.
#
# If you don't want any of this processing, remove the commands from this file
# but don't delete the file: It is automatically re-created to the default
# script if it is found missing.
echo ~/.plush/env ...
#
# Shell Variables
#
PS1='⾙ ' # U+2F99 KANGXI RADICAL SHELL
#
# Common Aliases
#
alias ls='ls -F'
alias ll='ls -lF'
alias more=less
alias mv='mv -i'
alias rm='rm -i'
alias du='du -h'
export GIT_PAGER=''
export MANPAGER='col -bx'
and the following ~/.plush/profile:
# ~/.plush/profile
#
# This file is sourced by plush when it is run as a login shell.
# It is a a login shell if any of these are true:
# * argv[0] starts with a '-' (login does this)
# * invoked with --login option
# * started in web server mode (-w)
#
# If you don't want any login processing, remove the commands from this file
# but don't delete the file: It is automatically re-created to the default
# script if it is found missing.
echo ~/.plush/profile ...
#
# Clean up history
#
find ~/.plush/history -depth -mtime +45 -delete
# removes things older than 45 days
#
# Set ENV - which is the name of a script to load in interactive shells
#
ENV=~/.plush/env
export ENV
# N.B.: This script will automatically be sourced by plush next if
# it is an interactive shell.
export PATH="$HOME/bin:/usr/local/bin:$HOME/Library/Haskell/bin:$PATH"
export EDITOR=/Applications/Emacs.app/Contents/MacOS/Emacs
export VISUAL=/Applications/Emacs.app/Contents/MacOS/Emacs
Expected result:
Output the current environment variables.
OS & browser info:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like
Gecko) Chrome/26.0.1410.65 Safari/537.31
Original issue reported on code.google.com by johan.ti...@gmail.com on 19 May 2013 at 6:49
Original issue reported on code.google.com by
johan.ti...@gmail.com
on 19 May 2013 at 6:49