Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Benjamin Graillot
scripts
Commits
60b1305f
Commit
60b1305f
authored
Apr 20, 2016
by
Pierre-Elliott Bécue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bye bin/all/irc, et affinage du read dans utils/zamok/irc
parent
cd347b44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
bin/all/irc
bin/all/irc
+0
-7
utils/zamok/irc
utils/zamok/irc
+3
-2
No files found.
bin/all/irc
deleted
100755 → 0
View file @
cd347b44
#!/bin/bash
# oneliner destiné à être symlinké depuis /usr/bin/irc
# pour que tout le monde puisse facilement utiliser
# WeeChat dans un screen
screen
-rd
IRC
||
screen
-S
IRC weechat
utils/zamok/irc
View file @
60b1305f
...
...
@@ -25,13 +25,14 @@ Si le fichier ${HOME}/.config/zamok/screen_ok est présent, on utilise screen au
démarrage, s'il est absent, screen n'est pas utilisé.
EOF
read
-p
"Voulez-vous utiliser screen quand vous lancez IRC ? (vous pouvez appuyer sur entrée pour passer la question) [o/n] "
read_screen
read_screen
=
$(
echo
${
read_screen
}
|
tr
[
:upper:]
[
:lower:]
)
case
$read_screen
in
y|
Y|o|O
)
y|
o|yes|oui
)
touch
${
HOME
}
/.config/zamok/screen_ok
echo
"Ok, on utilise screen."
touch
${
HOME
}
/.config/zamok/irc_first_use
;;
n|
N
)
n|
no|non
)
rm
-f
${
HOME
}
/.config/zamok/screen_ok
echo
"Ok, on utilise pas screen"
touch
${
HOME
}
/.config/zamok/irc_first_use
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment