Commit graph

144 commits

Author SHA1 Message Date
f3d51da34c dialog about start tmux also at the end 2020-11-30 08:07:17 +01:00
60bf5bf467 start tmux at the end 2020-11-30 08:03:36 +01:00
d8ca48066b rename function, fix promptcommandmunge 2020-11-28 18:00:17 +01:00
420cb4663c modify promptcommand, use direnv to set umask 2020-11-28 17:42:42 +01:00
Jakobus Schürz
4164907f03 Merge branch 'master' of git.schuerz.at:public/myshellconfig 2020-11-15 22:20:05 +01:00
Jakobus Schürz
aad6c0529e Merged detached head into master 2020-11-15 22:19:57 +01:00
1cbb14ab81 improve output 2020-11-14 00:03:26 +01:00
6f86136d90 change default fileloglevel to DEBUG 2020-11-06 20:53:28 +01:00
766bcc74e0 change update-intervall to 48h 2020-11-01 10:11:24 +01:00
4151446013 update submodules only in intervall not every init
MYSHELLCONFIG_GIT_SUBMODULES_INTERVALL=<time in hours>
2020-10-30 13:57:22 +01:00
Jakobus Schürz
8bb78939e1 set EDITOR and VISUAL if not set to vim 2020-10-30 11:51:41 +01:00
8c67fc1998 add Vundle 2020-10-28 14:20:51 +01:00
066c57c091 add PKCS11_MODULE depending on location 2020-10-27 11:15:30 +01:00
6438135723 fix typos, rename variables 2020-10-26 01:16:57 +01:00
cd62dfbd66 fix typo 2020-10-26 01:13:41 +01:00
36d1f1f112 configure repo for submodules via env 2020-10-25 23:04:48 +01:00
d57655e575 update submodules only if wanted (configure by env 2020-10-25 11:08:37 +01:00
Jakobus Schürz
0ede14c873 move SCRIPTEXIT inside fi 2020-10-23 00:10:04 +02:00
8fa405e41e improve output 2020-10-22 08:56:07 +02:00
dff2a9eab5 remove line to source functions.sh on wrong place 2020-10-22 08:51:42 +02:00
64d921ec93 add pre-function pathmunge and munge bindir 2020-10-22 08:48:47 +02:00
a498fc9e6c remove final exit 0 2020-10-22 08:40:24 +02:00
b02e49e168 change position of SCRIPTEXIT 2020-10-22 08:39:30 +02:00
0e3cb1501b change default loglevel, change output 2020-10-01 06:58:55 +02:00
9f300e6a5a change default loglevels 2020-09-30 09:09:40 +02:00
b9170167a8 remove output non-interactive shell 2020-09-22 20:35:31 +02:00
86045791d5 cleanup code 2020-09-22 09:08:16 +02:00
59b23ef42c change from echo to log 2020-09-22 02:01:30 +02:00
1527daae36 change output 2020-09-22 00:31:18 +02:00
b4eb533b6b debug 2020-09-21 23:59:18 +02:00
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