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
F
fichiers_configuration
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boudy
fichiers_configuration
Commits
1687e7ed
Commit
1687e7ed
authored
Sep 29, 2013
by
Vincent Le gallic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More aliases
parent
124a7976
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
.bash_aliases
.bash_aliases
+18
-3
.zsh_aliases
.zsh_aliases
+8
-0
No files found.
.bash_aliases
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'
# +------------+
...
...
.zsh_aliases
0 → 100644
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
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