#arpnetworks/ 2015-02-14,Sat

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

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

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)