Commit Graph

21 Commits

Author SHA1 Message Date
Alethea Rose
bf0c061f17 Also source /etc/profile.d/*.sh for zsh 2017-02-13 22:06:22 -05:00
Renato Silva
4c63570212 filesystem: Some improvements.
* Avoid continuously appending items to MANPATH and INFOPATH when
  sourcing /etc/profile multiple times.

* Check for .bashrc existence in shell manager.
2016-06-26 15:46:53 -03:00
Renato Silva
f64a34a763 filesystem: More consistent behavior for MSYSTEM.
MSYSTEM now defaults to MSYS when not specified, and there is no
different behavior anymore between empty value and MSYS, for example
/opt/bin was not being added to path when not setting MSYSTEM. This
removes the need for explicitly setting the variable, since a default
value is now implied.
2016-05-24 14:37:08 -03:00
Renato Silva
b827a678b1 Some environment improvements.
* New script /etc/msystem providing information associated with the
  current MSYSTEM. This is sourced by /etc/profile but can be used by
  non-login scripts for getting information such as the current
  compiler architecture or mount point.

* New script /usr/bin/shell for switching between shells without
  restarting MSYS2. This can be used in interactive sessions but also
  from shell scripts for switching the MSYSTEM without restarting bash
  or spawning a subshell.

* Allow /etc/profile to be sourced multiple times without continuously
  appending stuff to PATH or losing track of the original Windows TEMP.
  Also implemented for /etc/profile.d/perlbin.sh, so perl path is not
  repeatedly appended.
2016-05-24 14:37:08 -03:00
Renato Silva
7fd131dde0 filesystem: More consistent Windows path setting.
The generic variable SET_FULL_PATH has been replaced with MSYS2_PATH_TYPE, which
can accept the following values:

* strict: no Windows path.
* inherit: full Windows path.
* Other values: minimal Windows path (default).
2016-04-08 16:05:50 -03:00
Alexey Pavlov
8db3812e08 filesystem: Fix path convert. Remove TERM variable 2016-03-30 16:08:19 +03:00
Alexey Pavlov
5abf4b608f filesystem: Add environment variable to SKIP minimize PATH 2016-03-30 08:29:49 +03:00
Alexey Pavlov
6e0e609da2 filesystem: Create minimal PATH environment. 2016-03-29 09:38:10 +03:00
Alexpux
e259adce91 filesystem: Add agm2 macros. 2015-04-26 13:35:26 +03:00
Iku Iwasa
856cbc1aae Fix empty MINGW_MOUNT_POINT handling 2015-04-25 13:41:28 +01:00
Alexpux
96089872e9 filesystem: Read profiles for mingw shells from mingw directories 2015-04-05 23:22:20 +03:00
David Macek
310f430905 Clean up /usr/sbin and /usr/etc
Affected recipes: cyrus-sasl, filesystem, gdb, heimdal, tar, tzcode, util-linux

Also:
- add missing dependencies to gdb
- re-format filesystem PKGBUILD slightly
2015-03-07 17:07:25 +01:00
David Macek
9380595f55 Set correct ACLOCAL_PATH in /etc/profile for mingw{32,64}_shell 2015-02-06 01:23:24 +01:00
Alexpux
e60e8d8ffa filesystem: Extend PKG_CONFIG_PATH. Add comments about new method of mapping windows accounts to cygwin/msys. 2014-12-08 14:18:30 +03:00
Alexpux
51695dda36 filesystem: Optimize first MSYS2 run. 2014-11-12 21:07:37 +03:00
Alexpux
556a3fa71e filesystem: We don't need create /etc/{passwd,group} anymore 2014-10-26 22:23:33 +03:00
Alexpux
91cb3a556a filesystem: Some fixes. 2014-10-12 19:14:25 +04:00
Alexpux
a20fb2ba46 filesystem: Move post-install code to some files. Add pacman post install tasks. 2014-09-30 09:50:32 +04:00
Alexpux
16fb5a3608 filesystem: Do not install nsswitch.conf as it broken. Export TERMINFO variable 2014-09-19 09:11:40 +04:00
Alexpux
13fbdd1432 filesystem: Cleanup profile files from Cygwin stuff 2014-07-02 10:02:31 +04:00
Alexpux
4711f5800e filesystem: New package. Replace msys2-base 2014-07-01 15:36:35 +04:00