Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envrcd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
isgphys
envrcd
Commits
89ae2b4e
Commit
89ae2b4e
authored
1 month ago
by
Sven Mäder
Browse files
Options
Downloads
Patches
Plain Diff
Add dysk config via alias, add gitb alias
parent
73eb919d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
profile/default/envrcd.d/20-aliases
+6
-0
6 additions, 0 deletions
profile/default/envrcd.d/20-aliases
profile/rda/envrcd.d/20-aliases
+6
-0
6 additions, 0 deletions
profile/rda/envrcd.d/20-aliases
with
12 additions
and
0 deletions
profile/default/envrcd.d/20-aliases
+
6
−
0
View file @
89ae2b4e
...
...
@@ -51,6 +51,7 @@ alias gitl='git log'
alias
gitlp
=
'git log -p'
alias
gitla
=
'git adog'
alias
gitlv
=
'git adogv'
alias
gitb
=
'git blame -w'
alias
gg
=
'git grep -i'
alias
g
=
'grep -iE'
alias
gl
=
'grep -iE --line-buffered'
...
...
@@ -72,6 +73,11 @@ alias p6='p -6'
alias
psc
=
'ps xawf -eo pid,user:12,cgroup:54,args'
alias
psct
=
'ps xawf -ewwo pid,nlwp,ppid,c,tname,stat,time:12,user:12,cgroup:54,args'
alias
psctt
=
'ps xaw -eTwwo pid,lwp,nlwp,ppid,c,tname,stat,time:12,user:12,cgroup:54,args'
alias
dysk
=
'dysk -u binary -s mount'
alias
dy
=
'dysk'
alias
dya
=
'dysk --ascii'
alias
dyi
=
'dy -c +inodes_used,+inodes,+inodes_free,+inodes_total'
alias
dyia
=
'dyi --ascii'
# use colordiff if it exists
if
[
$(
which colordiff
)
]
;
then
...
...
This diff is collapsed.
Click to expand it.
profile/rda/envrcd.d/20-aliases
+
6
−
0
View file @
89ae2b4e
...
...
@@ -67,6 +67,7 @@ alias gitl='git log'
alias
gitlp
=
'git log -p'
alias
gitla
=
'git adog'
alias
gitlv
=
'git adogv'
alias
gitb
=
'git blame -w'
alias
gg
=
'git grep -i'
alias
g
=
'grep -iE'
alias
gl
=
'grep -iE --line-buffered'
...
...
@@ -102,6 +103,11 @@ alias ap10='ANSIBLE_TIMEOUT=10 ansible-playbook'
alias
api10
=
'ANSIBLE_HOST_KEY_CHECKING=False ANSIBLE_SSH_ARGS="-o ControlMaster=auto -o ControlPersist=3s -o PreferredAuthentications=publickey -F .ssh_config -o UserKnownHostsFile=/dev/null" ANSIBLE_TIMEOUT=10 ansible-playbook'
alias
av
=
'ansible-vault'
alias
ai
=
'ansible-inventory'
alias
dysk
=
'dysk -u binary -s mount'
alias
dy
=
'dysk'
alias
dya
=
'dysk --ascii'
alias
dyi
=
'dy -c +inodes_used,+inodes,+inodes_free,+inodes_total'
alias
dyia
=
'dyi --ascii'
# it is better to override .vimrc location via environment variables
#alias vim="vim -u ${ENVRCD_PROFILE_PATH}/.vimrc"
...
...
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