mirror of
https://github.com/notwa/rc
synced 2024-11-05 07:29:04 -08:00
whatever
This commit is contained in:
parent
6d3cb8ed31
commit
427f565811
2 changed files with 3 additions and 2 deletions
|
@ -32,6 +32,6 @@ PROMPT_COMMAND='[ $? = 0 ] && PS1=${ret_succ} || PS1=${ret_fail}'
|
||||||
# this doesn't work for all scripts at the moment, but
|
# this doesn't work for all scripts at the moment, but
|
||||||
ADDPATH "$HOME/sh"
|
ADDPATH "$HOME/sh"
|
||||||
|
|
||||||
alias reload='exec bash'
|
alias reload='cd; exec bash'
|
||||||
|
|
||||||
unset x
|
unset x
|
||||||
|
|
3
sh/mw
3
sh/mw
|
@ -33,7 +33,8 @@ mingw-enable() {
|
||||||
_mw_host=${1:-$_mw_host}
|
_mw_host=${1:-$_mw_host}
|
||||||
local _mw_misc=~/src/mxe/usr/$_mw_host
|
local _mw_misc=~/src/mxe/usr/$_mw_host
|
||||||
local _mw_bin=~/src/mxe/usr/bin
|
local _mw_bin=~/src/mxe/usr/bin
|
||||||
local _mw_prefix=~/opt/mingw
|
local _mw_prefix=~/opt/$_mw_host
|
||||||
|
mkdir -p "$_mw_prefix"
|
||||||
|
|
||||||
set -- CC gcc CXX g++ CPP cpp AR ar RANLIB ranlib RC windres WINDRES windres
|
set -- CC gcc CXX g++ CPP cpp AR ar RANLIB ranlib RC windres WINDRES windres
|
||||||
while _mw_export "$1" "$_mw_bin/$_mw_host-$2"; do
|
while _mw_export "$1" "$_mw_bin/$_mw_host-$2"; do
|
||||||
|
|
Loading…
Reference in a new issue