Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fichiers_configuration
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
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
Membres actifs
fichiers_configuration
Commits
1687e7ed
Commit
1687e7ed
authored
11 years ago
by
Vincent Le gallic
Browse files
Options
Downloads
Patches
Plain Diff
More aliases
parent
124a7976
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
.bash_aliases
+18
-3
18 additions, 3 deletions
.bash_aliases
.zsh_aliases
+8
-0
8 additions, 0 deletions
.zsh_aliases
with
26 additions
and
3 deletions
.bash_aliases
+
18
−
3
View file @
1687e7ed
...
...
@@ -34,9 +34,6 @@ alias ll='ls -alFh'
alias la='ls -A'
alias l='ls -CF'
## Souvenir de Windows
#alias cd..='cd ..'
# parce que LS/sl c'est cool, mais qu'on veut pouvoir l'interrompre
alias sl='sl -e'
alias LS='LS -e'
...
...
@@ -53,6 +50,18 @@ alias sshadd='ssh-add -t 1800'
#~# alias sshimprimante="echo -e 'Port : 2222\nRappel : http://localhost:2222';ssh -L 2222:imprimante.adm.crans.org:80 vo"
#~# alias sshbabar="echo -e 'Port : 3333\nRappel : http://localhost:3333/backuppc';ssh -L 3333:babar.adm.crans.org:80 vo"
# +------------------+
# | Fixing mistyping |
# +------------------+
#~# # Souvenir de Windows
#~# alias cd..='cd ..'
#~# alias screen-r='screen -r'
#~# # +----------------------+
#~# # | AltGr+Space is wrong |
#~# # +----------------------+
...
...
@@ -91,6 +100,8 @@ alias sshadd='ssh-add -t 1800'
#~# # Pour que mtr n'utilise pas l'interface graphique
#~# alias mtr='mtr -t'
# +--------+
# | Divers |
# +--------+
...
...
@@ -116,6 +127,10 @@ alias pdfpagessum='pdfpages | awk "{print \$2}" | paste -sd+ | bc'
# long_command; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
# Pour afficher les derniers mails reçus
# (adapter le path de votre procmail.log si besoin)
alias tailprocmail='tail -f ~/.procmail/logs/procmail.log'
# +------------+
...
...
This diff is collapsed.
Click to expand it.
.zsh_aliases
0 → 100644
+
8
−
0
View file @
1687e7ed
# La totalité des .bash_aliases peuvent être utilisé sous zsh
# Mais zsh en mérite certains en plus
# Ne pas proposer de correction automatique
for command in mkdir cp mv rm sudo screen
do
alias $command="nocorrect $command"
done
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