Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mentat-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Mentat
mentat-test
Commits
a87882ae
Commit
a87882ae
authored
3 years ago
by
Jan Mach
Browse files
Options
Downloads
Patches
Plain Diff
Alias for quickly sudo su to mentat user.
(Redmine issue: #7041)
parent
302ac9c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vagrantenv/.bashrc
+1
-0
1 addition, 0 deletions
vagrantenv/.bashrc
vagrantenv/system-banner.sh
+1
-0
1 addition, 0 deletions
vagrantenv/system-banner.sh
with
2 additions
and
0 deletions
vagrantenv/.bashrc
+
1
−
0
View file @
a87882ae
...
...
@@ -108,6 +108,7 @@ alias ...='cd ../..'
alias
....
=
'cd ../../..'
alias
wd
=
'cd /vagrant/'
alias
ve
=
'. /var/mentat/venv/bin/activate'
alias
sm
=
'sudo su mentat'
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
...
...
This diff is collapsed.
Click to expand it.
vagrantenv/system-banner.sh
+
1
−
0
View file @
a87882ae
...
...
@@ -16,4 +16,5 @@ echo ""
echo
" Tips:"
echo
" Use alias 'wd' to quickly change to project's Work Directory."
echo
" Use alias 've' to activate project's virtual environment."
echo
" Use alias 'sm' to quickly sudo su change to 'mentat' user."
echo
""
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment