Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
e3ca1c1b
authored
Nov 04, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fab: add install_bash_completion_script function
parent
6d633f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
circle/fabfile.py
+9
-0
No files found.
circle/fabfile.py
View file @
e3ca1c1b
...
@@ -204,3 +204,12 @@ def _stopped(*services):
...
@@ -204,3 +204,12 @@ def _stopped(*services):
def
_workon
(
name
):
def
_workon
(
name
):
return
prefix
(
"source ~/.virtualenvs/
%
s/bin/activate && "
return
prefix
(
"source ~/.virtualenvs/
%
s/bin/activate && "
"source ~/.virtualenvs/
%
s/bin/postactivate"
%
(
name
,
name
))
"source ~/.virtualenvs/
%
s/bin/postactivate"
%
(
name
,
name
))
@roles
(
'portal'
)
def
install_bash_completion_script
():
sudo
(
"wget https://raw.githubusercontent.com/marcelor/fabric-bash-"
"autocompletion/48baf5735bafbb2be5be8787d2c2c04a44b6cdb0/fab "
"-O /etc/bash_completion.d/fab"
)
print
(
"To have bash completion instantly, run
\n
"
" source /etc/bash_completion.d/fab"
)
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