Commit graph

114 commits

Author SHA1 Message Date
3c44435b01 move logging-functions in own file 2020-09-21 23:55:10 +02:00
ef1a999c1a add scriptexit 2020-09-21 23:26:46 +02:00
b8b811120e improve logger 2020-09-21 23:22:16 +02:00
8d2324c4db add FILELOGLEVEL 2020-09-21 22:02:58 +02:00
a7d0f72c87 export SCRIPT_LOG 2020-09-21 21:26:12 +02:00
b694334bd9 add trace 2020-09-21 21:14:18 +02:00
090e7e95b3 add logging 2020-09-21 21:08:08 +02:00
67e0648321 add loglevel functions 2020-09-21 20:33:45 +02:00
Jakobus Schürz
495e22d0d9 remove failuretrap 2020-09-21 18:02:07 +02:00
7abf12f2f6 fix broken space 2020-09-21 17:49:55 +02:00
161834d58c add failuretrace 2020-09-21 17:03:48 +02:00
70072fcb65 fix broken space 2020-09-21 16:56:25 +02:00
edcf7e15b3 move definition from default-values 2020-09-21 16:46:13 +02:00
cb536cf219 mkdir only if variable is set 2020-09-21 13:15:00 +02:00
eb41e28b25 add directories for ssh_agents and sockets 2020-09-21 13:00:29 +02:00
a1dfce0d4c add tokenforwarding for etoken and x2go 2020-09-16 21:42:56 +02:00
29e43d9e31 add functions to change debug 2020-09-11 09:21:07 +02:00
b811d7b41a set MYSHELLCONFIG_DEBUG default if not set 2020-09-11 08:58:33 +02:00
foo
ab12293bf8 export GIT_* variables 2020-07-16 13:39:39 +02:00
600fb25bff change USEREMAIL 2020-07-06 11:24:43 +02:00
ea75fb4cec change GIT-Emails in ENV 2020-07-06 11:09:43 +02:00
Jakobus Schürz
642df8ae70 fix path 2020-04-05 01:42:17 +02:00
Jakobus Schürz
b52dd27ebe fix path 2020-04-04 12:30:52 +02:00
Jakobus Schürz
89d56215e3 fix non-interactive shell error x2go 2020-03-13 15:46:22 +01:00
root
68fd15cc17 remove debug 2020-03-12 22:07:18 +01:00
root
5b6d1b9cdc add debug 2020-03-12 22:05:32 +01:00
Jakobus Schürz
945b2f8348 use bash parameter-expansion 2020-03-12 20:59:57 +01:00
Jakobus Schürz
2d6a4a5d05 fix typo in variable, change from if to case 2020-03-12 20:48:27 +01:00
Jakobus Schürz
04e217184d set timeout only if run in TTY 2020-03-12 18:26:04 +01:00
Jakobus Schürz
98b96b25e9 add debug test if tty or not 2020-03-12 18:22:31 +01:00
Jakobus Schürz
81793e06c3 add user-timeout, move set timouts to load_default 2020-03-12 10:39:22 +01:00
Jakobus Schürz
d68a65338f add root timeout 2020-03-12 10:32:37 +01:00
Jakobus Schürz
185a06d5dc do nosync 2020-03-04 11:10:18 +01:00
Jakobus Schürz
1ec4e954c6 add debug 2020-02-27 09:10:54 +01:00
Jakobus Schürz
572f73fd2e fix ssh-completion error 2020-02-27 09:08:43 +01:00
Jakobus Schürz
dcd10f3301 Merge branch 'master' of https://github.com/xundeenergie/myshellconfig 2020-02-26 18:25:30 +01:00
Jakobus Schürz
42e20462ca add option for sync or not sync profile
Variable MYSHELLCONFIG_GIT_SYNC in ~/.bashrc
if unset it defaults to true. So profile is synced
If Set to false, do not sync profile
2020-02-25 16:15:32 +01:00
Jakobus Schürz
85b6f63cbd add "nosync" 2020-02-25 12:12:05 +01:00
Jakobus Schürz
dc9e93bba8 fix logdirpath 2020-02-05 12:18:12 +01:00
Jakobus Schürz
46595c88d0 fix missing logdir 2020-02-05 12:12:29 +01:00
Jakobus Schürz
e437585b31 move cat end of backup to interactive section 2020-02-05 07:36:58 +01:00
Jakobus Schürz
c6d3098290 remove debug, fix failing source 2020-01-22 11:00:53 +01:00
Jakobus Schürz
c76952df20 debug 2020-01-22 10:59:17 +01:00
Jakobus Schürz
d133a4926d debug 2020-01-22 10:20:53 +01:00
Jakobus Schürz
66d74eee9f improve output 2020-01-22 10:10:10 +01:00
Jakobus Schürz
905a222293 Split bashrc_add in separat files
If configuration is updated, sometimes it needed two logins to get
last configs, aliases and so on. Because first login it syncs the
configuration and load-functions, on second login, the new configuration
was used (valid for all functions in bashrc_add itself)

Now the loading of defaults is in a own file.
First the file is synced with git, then the new file gets sourced, so
the script can use the new configuration on first login
2020-01-22 09:17:13 +01:00
Jakobus Schürz
66fd6fcd3b fix nested link creation in WORK 2020-01-22 08:16:56 +01:00
Jakobus Schürz
ff212c9f7c fix syntax 2020-01-21 15:25:34 +01:00
Jakobus Schürz
a9957d30e5 create WDOTD only if not existing or is a link 2020-01-21 15:22:43 +01:00
Jakobus Schürz
a63dca8ff8 create link on ~/WORK if it is not a file 2020-01-21 15:17:29 +01:00
Jakobus Schürz
a1f2238de6 create WDOTD in yearly and monthly folder 2020-01-21 15:14:46 +01:00
Jakobus Schürz
6c367db234 add WorkDirOfTheDay
create a directory in ~/archive named work_$TODAY and link it to ~/WORK.
So it exists a Directory for every day, where the daily work can be
saved
2020-01-21 15:11:09 +01:00
Jakobus Schürz
71edfe6e6b fix logic 2020-01-17 16:08:02 +01:00
Jakobus Schürz
b6cecd1dc2 fix wrong logic 2020-01-17 16:03:54 +01:00
Jakobus Schürz
1017005260 make set-url configurable via environment 2020-01-17 15:54:52 +01:00
Jakobus Schürz
181f184228 debug 2020-01-17 15:52:25 +01:00
Jakobus Schürz
a429fc5e19 change debug 2020-01-16 11:18:55 +01:00
Jakobus Schürz
ea29f12c98 change test if shell is interactive 2020-01-15 18:09:34 +01:00
Jakobus Schürz
d353f294f2 export Variable 2020-01-15 15:33:25 +01:00
Jakobus Schürz
ae02743831 add new variable 2020-01-15 01:38:33 +01:00
2f38d0d194 add return before exit
exit in sourced script cause termination of whole shell/terminal
2020-01-14 11:59:32 +01:00
035496f7ec change hostconfig -> myshellconfig 2020-01-14 11:56:22 +01:00
525fda1938 fix Vundle path 2020-01-14 11:51:24 +01:00
d2f0657629 transition from HOSTCONFIG to MYSHELLCONFIG
and use the same pathes for vim plugin repos on git.schuerz.at as on
github.com
2020-01-14 10:12:00 +01:00