]>
arthur.ath.cx Git - ConfigScripts.git/log
Alexander Barton [Thu, 27 Nov 2014 16:30:28 +0000 (17:30 +0100)]
bashrc: Map up & down to history
Alexander Barton [Thu, 27 Nov 2014 16:28:13 +0000 (17:28 +0100)]
bashrc: source /usr/local/bin/virtualenvwrapper.sh
Alexander Barton [Wed, 26 Nov 2014 14:45:05 +0000 (15:45 +0100)]
Honor UID/EUID better
Alexander Barton [Mon, 22 Sep 2014 17:32:58 +0000 (19:32 +0200)]
Add "lastf" ("last foreign") alias
Alexander Barton [Sun, 24 Aug 2014 17:26:01 +0000 (19:26 +0200)]
PS1 shell prompt: only show current directory name
Don't show the full path name any more, because it can become very long
and too wide for an 80 character terminal ...
Alexander Barton [Sun, 3 Aug 2014 00:41:20 +0000 (02:41 +0200)]
Revert "user/bash_profile: enforce reading of profile files in tmux(1)"
At least on Debian Linux, this isn't required and leads to multiple
includes of /etc/profile.
This reverts commit
8ff4f33ba62c64b0c4f07c4ce6b7a2a2bce08a5a.
Alexander Barton [Mon, 21 Jul 2014 19:14:12 +0000 (21:14 +0200)]
Reminders: only create "~/.last_reminder" when "~" is writable
Alexander Barton [Sun, 15 Jun 2014 23:49:36 +0000 (01:49 +0200)]
user/bash_profile: enforce reading of profile files in tmux(1)
Alexander Barton [Sun, 15 Jun 2014 23:49:07 +0000 (01:49 +0200)]
user/bash_profile: don't forget to read /etc/profile
Alexander Barton [Sun, 15 Jun 2014 23:48:00 +0000 (01:48 +0200)]
Better debug logging, display when script really starts
Alexander Barton [Sat, 10 May 2014 15:47:24 +0000 (17:47 +0200)]
sys/bashrc: Search for /etc/profile in ~/.etc/profile, too
Alexander Barton [Sat, 26 Apr 2014 15:21:23 +0000 (17:21 +0200)]
Only try to create local home directory if /usr/local/home already exists
Alexander Barton [Thu, 24 Apr 2014 14:14:25 +0000 (16:14 +0200)]
Fix test for "ccache". Oops.
Alexander Barton [Thu, 24 Apr 2014 13:52:18 +0000 (15:52 +0200)]
Setup "PIP_DOWNLOAD_CACHE" using "XDG_CACHE_HOME"
Alexander Barton [Thu, 24 Apr 2014 13:48:51 +0000 (15:48 +0200)]
Setup environment for local storage before reading in further scripts
Alexander Barton [Wed, 23 Apr 2014 18:24:29 +0000 (20:24 +0200)]
Setup environment for Python "pip", if installed
Alexander Barton [Wed, 23 Apr 2014 18:05:25 +0000 (20:05 +0200)]
Correctly detect encoding from "LC_CTYPE" and "LANG"
Alexander Barton [Fri, 18 Apr 2014 17:49:15 +0000 (19:49 +0200)]
Use "type -t" to test for tools.
This further enahces commit
2f959f4d and fixes a bug when "__git_ps1"
is not available on the system.
Alexander Barton [Fri, 18 Apr 2014 14:21:30 +0000 (16:21 +0200)]
Reminders: Show them all 60 minutes, not every minute! Argl.
Alexander Barton [Fri, 18 Apr 2014 14:16:18 +0000 (16:16 +0200)]
Only call keychain(1) when shell is interactive
Alexander Barton [Fri, 18 Apr 2014 13:43:00 +0000 (15:43 +0200)]
Add support for keychain(1) ssh-agent and gpg-agent helper
Alexander Barton [Fri, 18 Apr 2014 13:09:13 +0000 (15:09 +0200)]
Fix comment in user/bash_logout
Alexander Barton [Fri, 18 Apr 2014 12:50:19 +0000 (14:50 +0200)]
Unset temporary/local variables
Alexander Barton [Fri, 18 Apr 2014 12:49:31 +0000 (14:49 +0200)]
Don't set "ME" variable, use "HOSTNAME" instead
Alexander Barton [Fri, 18 Apr 2014 12:48:24 +0000 (14:48 +0200)]
Remove outdated alias ","
Alexander Barton [Fri, 18 Apr 2014 12:47:11 +0000 (14:47 +0200)]
Show reminders (icalBuddy, remind) once every 60 minutes
Alexander Barton [Fri, 18 Apr 2014 12:45:54 +0000 (14:45 +0200)]
Use "type" to test for tools
Alexander Barton [Sun, 23 Mar 2014 13:02:12 +0000 (14:02 +0100)]
Fix test for "root" user
Alexander Barton [Sat, 15 Mar 2014 14:01:24 +0000 (15:01 +0100)]
Don't set $USER and $UID
$UID is unsed, and $USER can be replaced by $LOGNAME.
Reason: our own setting of $UID and $USER fails on systems that only
provide a very limited id(1) binary; like A/UX ...
Alexander Barton [Sat, 15 Mar 2014 13:52:12 +0000 (14:52 +0100)]
Enhance icalBuddy output
- add list of due tasks
- update output format (don't use grep any more)
Alexander Barton [Sat, 15 Mar 2014 13:51:22 +0000 (14:51 +0100)]
Use local variables to customize icalBuddy
Alexander Barton [Mon, 3 Feb 2014 19:57:02 +0000 (20:57 +0100)]
Do not set LC_MESSAGES=C any longer; let the user decide
Alexander Barton [Mon, 3 Feb 2014 19:36:57 +0000 (20:36 +0100)]
Fix detection of "desktop sessions"
Alexander Barton [Mon, 3 Feb 2014 19:25:03 +0000 (20:25 +0100)]
Better detect encoding of the terminal
Note: You should make sure that the system does not set a LANG variable
by default (for example in /etc/default/locale)!
Alexander Barton [Mon, 6 Jan 2014 15:59:21 +0000 (16:59 +0100)]
Add history index to bash prompt
Alexander Barton [Fri, 22 Nov 2013 15:41:03 +0000 (16:41 +0100)]
Install root-owned files with root group, too
Alexander Barton [Fri, 22 Nov 2013 15:37:45 +0000 (16:37 +0100)]
Fix Copy_File function, "cp --preserve=timestamps" isn't portable
Alexander Barton [Fri, 22 Nov 2013 15:31:33 +0000 (16:31 +0100)]
install.sh: Don't handle root user specially
Alexander Barton [Fri, 22 Nov 2013 15:29:57 +0000 (16:29 +0100)]
Insert more "Msg" commands into install.sh
Alexander Barton [Fri, 22 Nov 2013 15:18:29 +0000 (16:18 +0100)]
Install system files locally, when already present there
Alexander Barton [Fri, 22 Nov 2013 15:16:23 +0000 (16:16 +0100)]
install.sh: Try to preserve timestamps
Alexander Barton [Fri, 22 Nov 2013 15:15:52 +0000 (16:15 +0100)]
install /etc/skel/.bash_logout with correct owner
Alexander Barton [Fri, 22 Nov 2013 15:13:48 +0000 (16:13 +0100)]
Update shell history handling
Save more history to disk, and enable shell options "histverify"
and "histreedit".
Alexander Barton [Fri, 22 Nov 2013 14:41:26 +0000 (15:41 +0100)]
sys/bashrc: Fix comment
Alexander Barton [Fri, 31 May 2013 11:11:32 +0000 (13:11 +0200)]
Enable bash-completion only when POSIX mode is not active
Alexander Barton [Sun, 6 Jan 2013 17:22:35 +0000 (18:22 +0100)]
Only add optional paths to PATH if .not_in_path does not exist
Alexander Barton [Tue, 25 Dec 2012 21:26:34 +0000 (22:26 +0100)]
sys/profile: Only call "tset" when it is available
Alexander Barton [Tue, 25 Dec 2012 21:26:02 +0000 (22:26 +0100)]
install.sh: Don't do "skel" installation when called with "--local"
Alexander Barton [Tue, 18 Dec 2012 20:16:04 +0000 (21:16 +0100)]
Enhance guessing if UTF-8 or ISO8859-1 encoding should be used
Alexander Barton [Sat, 6 Oct 2012 20:26:49 +0000 (22:26 +0200)]
Add /usr/ucb to our "PATCH check list"
Used by Apple A/UX.
Alexander Barton [Mon, 27 Aug 2012 20:21:00 +0000 (22:21 +0200)]
Don't use "mkdir -p": very old systems don't support it ...
Tested with Apple A/UX 3.1
Alexander Barton [Sat, 25 Aug 2012 21:08:14 +0000 (23:08 +0200)]
Always initialize terminal using tset in interactive sessions
This makes sure, that TERM will have a value that is understood by the
local system.
Alexander Barton [Sat, 25 Aug 2012 21:06:12 +0000 (23:06 +0200)]
Search for bash_completion in /usr/local/etc
This is where it is stored on FreeBSD using packages, for example.
Alexander Barton [Wed, 13 Jun 2012 23:08:27 +0000 (01:08 +0200)]
Don't display error messages of icalBuddy
Alexander Barton [Fri, 8 Jun 2012 16:24:54 +0000 (18:24 +0200)]
Include profiles in /usr/local/etc/profile.d as well as in /etc/profile.d
Alexander Barton [Fri, 8 Jun 2012 16:24:15 +0000 (18:24 +0200)]
Make sure /usr/local/[s]bin is first when using path_helper
And only add /usr/local/sbin when other sbin directories are
already included in the path_helper generated path.
Alexander Barton [Tue, 7 Feb 2012 20:29:45 +0000 (21:29 +0100)]
Check /usr/share/php/bin as optional search path component
Alexander Barton [Tue, 7 Feb 2012 20:28:46 +0000 (21:28 +0100)]
Search ".remind" file in the home directory
And slightly enhance ("filter") output.
Alexander Barton [Fri, 27 Jan 2012 08:41:44 +0000 (09:41 +0100)]
Fix last commit: incorrect bash syntax :-/
(This fixes commit
27b9c114)
Alexander Barton [Wed, 25 Jan 2012 23:47:08 +0000 (00:47 +0100)]
Only set LC_MESSAGES="C" for non-X11 sessions
Alexander Barton [Sat, 27 Aug 2011 17:53:50 +0000 (19:53 +0200)]
Add support for ~/.bashrc.user-1st file
Alexander Barton [Sun, 26 Jun 2011 14:06:21 +0000 (16:06 +0200)]
Suppress "warning: setlocale: LC_CTYPE: cannot change locale (...)"
Alexander Barton [Fri, 22 Apr 2011 20:26:19 +0000 (22:26 +0200)]
Make locale setting much more smarter
Now UTF8 terminals are detected much better.
Alexander Barton [Fri, 22 Apr 2011 20:00:00 +0000 (22:00 +0200)]
Set ccache paths using the "regular" mechanism
Alexander Barton [Fri, 22 Apr 2011 19:57:51 +0000 (21:57 +0200)]
Initialize some "system local" directories
Create /usr/local/home/$USER and set LOCAL_HOME;
Create $LOCAL_HOME/{.cache|.ccache} and set XDG_CACHE_HOME, CCACHE_DIR.
Alexander Barton [Thu, 7 Apr 2011 13:09:14 +0000 (15:09 +0200)]
Copy user files to /etc/skel directory, if it is writeable
Alexander Barton [Sun, 27 Feb 2011 18:09:26 +0000 (19:09 +0100)]
Only setup safe options with elder bash versions
Alexander Barton [Sun, 27 Feb 2011 17:59:29 +0000 (18:59 +0100)]
Make sure that "mount" emits no error messages
Alexander Barton [Sun, 27 Feb 2011 17:59:00 +0000 (18:59 +0100)]
Don't use "hostname -s"
It is not supported on Apple A/UX.
Alexander Barton [Sun, 27 Feb 2011 17:58:04 +0000 (18:58 +0100)]
Make sure that "type manpath" emits no error messages
Alexander Barton [Sun, 27 Feb 2011 17:56:48 +0000 (18:56 +0100)]
New make target "install-local": install to ~/.etc
Alexander Barton [Sat, 26 Feb 2011 16:00:06 +0000 (17:00 +0100)]
Enable color on xterm-256color terminal
Alexander Barton [Wed, 16 Feb 2011 12:23:38 +0000 (13:23 +0100)]
Call icalBuddy not as root; and adjust bullet
Alexander Barton [Fri, 17 Sep 2010 09:52:35 +0000 (11:52 +0200)]
Only check quota(1) if a filesystem with quotas is mounted
Alexander Barton [Fri, 17 Sep 2010 09:50:37 +0000 (11:50 +0200)]
Added support for icalBuddy(1)
icalBuddy has a higher priority than remind(1); if the first one
is found, the latter won't be used.
Alexander Barton [Fri, 17 Sep 2010 09:48:48 +0000 (11:48 +0200)]
Only export PATH if it is set by this script; don't export MANPATH
This solves the problem, that manpath(1) on Mac OS X only is in effect
if MANPATH is not set at all.
Alexander Barton [Thu, 16 Sep 2010 12:58:50 +0000 (14:58 +0200)]
Added support for remind(1)
Alexander Barton [Sat, 21 Aug 2010 11:41:00 +0000 (13:41 +0200)]
Only setup MANPATH if manpath(1) is not available
Alexander Barton [Sat, 21 Aug 2010 11:22:09 +0000 (13:22 +0200)]
Fix test for __git_ps1 and check for it after handling bash-completion
Alexander Barton [Sat, 21 Aug 2010 11:03:22 +0000 (13:03 +0200)]
install.sh: don't set owner (call chown) if not necessary
Alexander Barton [Wed, 21 Jul 2010 13:18:35 +0000 (15:18 +0200)]
List possible terminal attributes and colors
Alexander Barton [Wed, 21 Jul 2010 13:15:25 +0000 (15:15 +0200)]
Shorten path displayed in default bash prompt, if necessary
Alexander Barton [Wed, 21 Jul 2010 13:12:44 +0000 (15:12 +0200)]
Use colors in default bash prompt (PS1)
Alexander Barton [Wed, 21 Jul 2010 13:10:12 +0000 (15:10 +0200)]
Set color-related variables if a color-capable terminal is detected
Alexander Barton [Wed, 21 Jul 2010 13:09:30 +0000 (15:09 +0200)]
Don't read /var/lib/$ME/bash.bashrc in non-interactive shells
Alexander Barton [Wed, 21 Jul 2010 12:17:26 +0000 (14:17 +0200)]
Add GIT branch name to shell prompt, if in a repository directory
This patch changes the prompt format for displaying the current chroot
name as well: (<name>) -> [<name>]
Alexander Barton [Fri, 1 Jan 2010 10:00:33 +0000 (11:00 +0100)]
Initialize bash-completion of Mac OS X "Homebrew" package
Alexander Barton [Fri, 16 Oct 2009 10:44:43 +0000 (12:44 +0200)]
Add /Developer/usr/bin as optional PATH component
Alexander Barton [Sun, 6 Sep 2009 14:55:06 +0000 (16:55 +0200)]
Source /etc/bash_command_not_found, if available
Source the file /etc/bash_command_not_found, if available, to initialize
the command-not-found Debian package.
Alexander Barton [Sat, 5 Sep 2009 12:15:07 +0000 (14:15 +0200)]
Make sure UID is always set
Alexander Barton [Sat, 29 Aug 2009 21:54:24 +0000 (23:54 +0200)]
Don't source /etc/profile.d/*.csh scripts
Alexander Barton [Sat, 29 Aug 2009 21:54:01 +0000 (23:54 +0200)]
Rewrap script line to 80 characters
Alexander Barton [Mon, 24 Aug 2009 19:36:42 +0000 (21:36 +0200)]
Only say "bye, bye" if this seems to be the "top" session
Don't say "bye, bye" if the shell session has been invoked by sudo(8).
Alexander Barton [Mon, 6 Jul 2009 18:29:21 +0000 (20:29 +0200)]
Source /etc/bashrc from ~/.bashrc, if not already read in.
Alexander Barton [Wed, 8 Apr 2009 11:42:04 +0000 (13:42 +0200)]
Don't add locale encoding if the current locale is "C"
Alexander Barton [Mon, 23 Mar 2009 22:25:29 +0000 (23:25 +0100)]
Move Xauthority file to local storage, so that sudo et all work
Alexander Barton [Mon, 23 Mar 2009 21:51:24 +0000 (22:51 +0100)]
Implement "intelligent" locale setting
Set the locale if it is not set or doesn't contain a dot;
but all system messages should still be in "native" ("C") language.
Alexander Barton [Mon, 23 Mar 2009 21:50:58 +0000 (22:50 +0100)]
Update copyright notice and file information text
Alexander Barton [Mon, 23 Mar 2009 21:50:04 +0000 (22:50 +0100)]
Update copyright notice and file information text
Alexander Barton [Mon, 23 Mar 2009 21:47:30 +0000 (22:47 +0100)]
sys/profile, user/bash_profile: code cleanup
- use ~/.ConfigScripts.debug as debug mode trigger,
- read in ~/.bash_profile.user
- eliminate a log of too specific code from user/bash_profile.