[00:14] *** dj_goku has quit IRC (Ping timeout: 255 seconds) [00:17] *** dj_goku has joined #arpnetworks [00:17] *** dj_goku has quit IRC (Changing host) [00:17] *** dj_goku has joined #arpnetworks [05:30] *** _Zodiac has joined #arpnetworks [05:33] *** _Zodiac has left [07:37] mnathani_? [07:38] oops... gotta go... it'll have to wait until later. [10:44] Hello everyone. [11:26] *** mnathani_ has quit IRC (Ping timeout: 252 seconds) [14:52] *** dj_goku has quit IRC (Ping timeout: 244 seconds) [15:06] *** dj_goku has joined #arpnetworks [15:06] *** dj_goku has quit IRC (Changing host) [15:06] *** dj_goku has joined #arpnetworks [15:19] *** dj_goku has quit IRC (Ping timeout: 250 seconds) [15:23] *** dj_goku has joined #arpnetworks [15:25] *** dj_goku has quit IRC (Read error: No route to host) [15:28] *** dj_goku has joined #arpnetworks [15:39] *** mnathani_ has joined #arpnetworks [15:40] RandalSchwartz [15:40] I'm back [15:54] hey [15:54] I have a script that does that exact thing [15:54] let me pastebin it for you [15:55] ... http://pastebin.com/nXfbyuB1 [15:55] the key is using "send-keys" to load the initial commands [15:55] presuming you might want a shell interaction later. [16:03] mnathani_? [16:26] *** mhoran has quit IRC (Remote host closed the connection) [16:26] *** mhoran has joined #arpnetworks [16:26] *** ChanServ sets mode: +o mhoran [17:16] thanks [17:17] hmm paste has been removed though [17:22] mnathani: tmuxinator might do what you want [17:47] Yeah - you came back too late [17:54] This is what I managed to piece together from the interwebs: http://paste.ubuntu.com/10231075/ [17:55] yeah, that's similar to what I pasted. [17:56] mine reattaches nicely though [17:56] let me paste again [17:56] ... http://pastebin.com/tPjDtyeZ [17:57] I name the session, and if I invoke the script again, it just reattaches me [17:57] so I can close the window and come back later [17:59] Hmm. I can simplify that if/then/else, since the exec would skip the rest of the file [18:04] what do the get.* scripts look like? [18:04] they run some sort of git fetch stuff [18:04] this is my morning "sync with the world" window [18:05] so basically just think of them as "actions to perform in that window" [18:05] right [18:05] I like how tmux is so flexible / scriptable [18:05] but having it be tmux, I can close that window (sometimes accidentally) and then just run my get.all command again (that script), and I'm back in the middle of what it's doing [18:06] the ones that run with && exit close themselves [18:06] so the tabs automatically reduce [18:06] for the other ones, I might do "make.git && exit" if git has changed [18:06] and again, it's fire-and-forget [18:07] if all goes well, the tab goes away [18:07] if not, I have an interaction directly with history availble [18:07] tmux rocks :) [18:08] my normal connection to a host is "ssh -t foo tmux att" [18:08] and so in my .tmux.conf on that host... [18:08] new-session -smain [18:08] so that if it runs the .tmux.conf, it makes a new session to attach to [18:08] but if it's already running, that's skipped [19:28] damnit randal [19:29] i'm trying to go to your links and it says iot has been removed twice :) [19:29] i used to have good enoguh session management with linux virtual console in text mode [19:29] of course [19:29] but i've never had anything halfway decent since using X [19:29] I don't put permanent things on pastebin [19:30] it's bad enough using pastebin in the first place [19:30] yeah [19:30] i expire mine after a week [19:30] ok, lemme do one more [19:30] and why do they have "bash" highlighting, but not any real shell? [19:31] ... http://pastebin.com/AUy0bdGj [19:31] the moment I see I'm in bash, I try to execute a real shell [19:33] oh i see how it works [19:33] randal: i have that habit too [19:34] like if i'm doing something on someone elses machine and they have bash i shift to zsh before continuing regardless. [19:34] err regardless if i'm going to take any advantage of it or not [19:35] although for some reason some people seem to have bash shells that don't even tell you the current path [19:48] * mkb has that [19:48] well just ksh but [19:49] I usually type PS1=$\ and unalias -a before working on someone elses shell [19:49] bash suffers from being GNU-like :) [19:49] a surprising number of people have prompt lines that take up half the screen [19:51] Yeah, that's weird. [20:29] *** NiTeMaRe has quit IRC (Ping timeout: 245 seconds) [20:35] *** NiTeMaRe has joined #arpnetworks [20:55] *** RandalSchwartz has quit IRC (Ping timeout: 245 seconds) [20:55] *** NiTeMaRe has quit IRC (Ping timeout: 245 seconds) [20:57] *** gizmoguy has quit IRC (Ping timeout: 245 seconds) [20:57] *** gizmoguy has joined #arpnetworks [20:59] *** NiTeMaRe has joined #arpnetworks [21:00] mkb: my prompt is prety huge [21:00] http://pastebin.com/GmrtDySh [21:01] i'm just using some bundled thing [21:01] prompt clint [21:03] weird prompt -p makes my urxvt go slow now [21:03] *** RandalSchwartz has joined #arpnetworks [21:03] the fade prompt got really slow [21:41] *** NiTeMaRe has quit IRC (Ping timeout: 245 seconds) [21:46] *** NiTeMaRe has joined #arpnetworks