Commit graph

38 commits

Author SHA1 Message Date
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