Commit Graph

128 Commits

Author SHA1 Message Date
Jeremy Gardais e6cf2adb83
Add new git aliases prefixed with "gg" 2019-06-19 23:32:59 +02:00
Jeremy Gardais 235f9110a0
New alias to get the weather from wttr.in 2019-01-18 19:33:14 +01:00
Jeremy Gardais 202da101e9
Manage some libreoffice extensions with fzf 2019-01-18 16:14:03 +01:00
Jeremy Gardais 04e1cdc7c8
Add some fzf commands to opend pdf files
Also define a PDF_VIEWER var for a default PDF tool.
2019-01-08 14:13:54 +01:00
Jeremy Gardais e42eead94e
fzf alias to cd and open a file with vi 2018-09-06 11:27:16 +02:00
Jeremy Gardais be91605bfe Use env_keep+=HOME var for sudo 2018-04-19 18:59:24 +02:00
Jeremy Gardais bcfc4c5bb9 New debops aliases to avoid compute nodes 2018-04-18 17:32:27 +02:00
Jeremy Gardais b82f0b7c95 Add better taskwarrior completion 2018-04-13 22:35:24 +02:00
Jeremy Gardais 447675b01a Ensure debops host function apply to one host/group 2018-04-09 09:46:32 +02:00
Jeremy Gardais 7efbbd271d Highlight long args in orange 2018-04-03 15:25:43 +02:00
Jeremy Gardais 93ac8de3ac insensitive function to search in taskwarrior 2018-03-30 14:08:06 +02:00
Jeremy Gardais 3dc0ad8268 Highlight args in shell commands and taskw's subcommands 2018-03-30 11:14:04 +02:00
Jeremy Gardais 817ec23563 Add new highlighters for shell syntax 2018-03-29 19:07:07 +02:00
Jeremy Gardais b977293d2c Vault pass is get with vault_password_file var 2018-03-20 09:55:33 +01:00
Jeremy Gardais 1d9bb7279b Add DebOps aliases 2018-03-07 16:32:10 +01:00
Jeremy Gardais 7ab503d799 Add taskwarrior aliases 2018-03-07 16:21:39 +01:00
Jeremy Gardais 80b904174c Add an alias (td) to detach from a tmux 2018-02-19 09:33:05 +01:00
Jeremy Gardais 64d24b34ab Add taskwarrior aliases
An alias to search (teas) and an alias to display the list of task (t).
2018-02-16 10:37:28 +01:00
Jeremy Gardais 079b8ba2d4 Use `fd` for fzf default_command if available. 2017-12-22 11:29:37 +01:00
Jeremy Gardais 57327f9d06 Don't run command with sudo for root. 2017-12-20 08:39:22 +01:00
Jeremy Gardais 102b8315ca Load fzf at the end to avoir override. 2017-12-15 13:47:15 +01:00
Jeremy Gardais 704d83d30c Load .fzf.zsh config file to have the latest options. 2017-12-15 12:02:51 +01:00
Jeremy Gardais 4b17151fea Define fzf configuration for ZSH only if available. 2017-12-15 11:33:40 +01:00
Jeremy Gardais 5955ac6b4b Review fzf aliases. 2017-12-15 10:47:39 +01:00
Jeremy Gardais 2dcf885212 Terminate grep options (--) in some aliases. 2017-12-14 17:46:27 +01:00
Jeremy Gardais 79f529d038 Add alias that launch vim with a specific vimrc only with root user. 2017-12-13 11:16:24 +01:00
Jeremy Gardais cb494b0a93 Load zsh-syntax-highlighting module if available. 2017-12-12 09:40:33 +01:00
Jeremy Gardais dcd19eeb42 Invert s and sudo to be able to use autocompletion with both. 2017-12-12 09:07:14 +01:00
Jeremy Gardais 323437c2c9 Move "s" (sudo alias) to a function to be able to run all aliases with sudo. 2017-12-11 11:04:20 +01:00
Jeremy Gardais 465d7853cc Use lll or llll to get last modified files instead of llt (list by tree). 2017-12-11 09:45:22 +01:00
Jeremy Gardais fc5941eacb Add some fzf aliases to change directory. 2017-11-29 11:33:40 +01:00
Jeremy Gardais bb2ef487d7 Allow to send command result to different clipboard/buffer. 2017-09-18 10:58:08 +02:00
Jeremy Gardais d372d91626 Correct nftables alias. 2017-08-11 12:08:29 +02:00
Jeremy Gardais c23f461a82 Add alias for exa if available. 2017-08-04 16:37:24 +02:00
Jeremy Gardais e868145d18 Correct git log alias. 2017-08-04 16:03:34 +02:00
Jeremy Gardais bf91dd9422 Ensure to run "bonjour" function only if cowsay is available. 2017-08-04 15:50:57 +02:00
Jeremy Gardais 35cfda4ad7 Correct nftables -> nft… 2017-08-04 09:50:06 +02:00
Jeremy Gardais 1c8b723663 Don't override "sudo" default with preserve-env… 2017-08-04 09:43:15 +02:00
Jeremy Gardais 686e1410a8 Add systemctl and journalctl aliases. 2017-08-04 09:17:58 +02:00
Jeremy Gardais db9fa1141b Alias nftables alias. 2017-08-04 09:11:30 +02:00
Jeremy Gardais 90cd20d3e0 Add environment preservation for somes sudo cmd. 2017-08-04 09:08:49 +02:00
Jeremy Gardais dafba02f5f Add alias for taskwarrior with work tag. 2017-08-04 09:03:34 +02:00
Jeremy Gardais a47a78eac2 Add systemd alias. 2017-06-08 15:59:32 +02:00
Jeremy Gardais b3efe546b8 add docker alias 2017-04-25 19:05:54 +02:00
Jeremy Gardais d63d7c5f43 Ensure to have cmd's args for kill completion 2017-03-20 14:37:51 +01:00
Jeremy Gardais a773e43891 Add new aliases with grep 2017-02-27 10:03:04 +01:00
Jeremy Gardais 326cecec4e Add a alias to remove old host sshkey 2017-02-23 12:06:33 +01:00
Jeremy Gardais 77287c375a Add alias for dpkg. 2016-06-06 15:52:00 +02:00
Jeremy Gardais fcada9c8db Back to aptitude for almost alias (better with dependencies).
Two aliases to search (apts -> apt; asea -> aptitude).
2015-12-18 10:53:21 +01:00
Jeremy Gardais 1ab9dc6ca7 Add a gpg alias to load keychain 2015-12-18 10:51:20 +01:00
Jeremy Gardais 33789845ed Back to Aptitude to remove package. APT don't remove automatically
installed packages which are no longer necessary.
2015-11-12 23:38:50 +01:00
Jeremy Gardais 93d7d84a41 `apt show` doesn't giff the package status … instead of aptitude. 2015-11-12 02:20:56 +01:00
Jeremy Gardais 5006e4104d Add a hash for apt: ~apt = /etc/apt 2015-11-11 23:49:53 +01:00
Jeremy Gardais 1b3fb82d78 Aliases: try APT instead of Aptitude. 2015-11-11 21:55:17 +01:00
Jeremy Gardais 832f5139a6 Add awhy alias for 'aptitude why'. 2015-10-20 09:21:07 +02:00
Jeremy Gardais 27d3c41fbd Hide username if it's not root. 2015-09-09 16:01:45 +02:00
Jeremy Gardais bff27aecd7 Add an alias for "aptitude remove". 2015-09-09 13:54:06 +02:00
Jeremy Gardais bdc98b6de3 SSH alias now load keychain if it's not already available.
Add an mkcd alternative.
2015-09-08 10:20:15 +02:00
Jeremy Gardais 2f67336b49 Use "command" to get the bash_quote path.
Check if bash_quote is available.
2015-09-08 02:09:37 +02:00
Jeremy Gardais c7129b7953 Add a new function to test network connection.
Display "bonjour" function in zlogin only if a network connection is available
2015-09-08 01:15:12 +02:00
Jeremy Gardais 1f499de4ce Use /sys to get the list of network interface. 2015-09-08 00:41:17 +02:00
Jeremy Gardais 11692babc0 Correct SSH alias … 2015-09-07 14:33:45 +02:00
Jeremy Gardais 7153a4fc08 Prefix APT aliases with 'a' instead of 'ap'. 2015-09-07 14:21:00 +02:00
Jeremy Gardais ab15374b76 Rename all APT aliases. 2015-09-07 13:40:24 +02:00
Jeremy Gardais 29ae892b26 Add an ssh alias to auto-load keychain ssh file if exist. 2015-09-07 12:23:34 +02:00
Jeremy Gardais ca89738866 New $PAGER: vimmanpager (only if available)
Correct some alias to be more generic with $PAGER
Correct CDPATH
2015-09-04 14:47:42 +02:00
Jeremy Gardais 3a51ca680d Add ip alias. 2015-08-31 10:05:03 +02:00
Jeremy Gardais ff08ff5b04 New alias to attach an existant tmux or create a new one. 2015-08-28 11:09:46 +02:00
Jeremy Gardais c5126bcdec Don't display mount command for each login. 2015-08-28 10:39:53 +02:00
Jeremy Gardais 0eab90a037 Add new aliases for sort and wc. 2015-08-08 22:46:53 +02:00
Jeremy Gardais 6e0199cbbf Add a count to 3 for ping6 (like ping) 2015-06-08 14:26:45 +02:00
Jeremy Gardais 45c99f553c Add new aliases to manage process, history, disk usage and grep. 2015-03-05 16:00:23 +01:00
Jeremy Gardais 66911a6ce0 Prefix some commands with sudo (aptitude, ...). 2015-02-26 14:48:44 +01:00
Jeremy Gardais 159eaade4b Add mapkey for ctrl+← and ctrl+→ 2015-02-26 14:20:54 +01:00
Jeremy Gardais e64315f57c Rewrite some aliases for aptitude. 2014-11-17 11:04:48 +01:00
Jeremy Gardais 81fe04e381 Try to use printf instead of echo
Fix the diffs alias
Use `dig` to get wan ip for ippub alias
Use `ip` instead of `ifconfig` for ippriv alias
Fix the lowercase function
Delete some tab
2014-09-27 11:23:25 +02:00
Jeremy Gardais 3834ca5a32 - Update the alias for the terminal multiplexers. 2014-09-08 10:15:54 +02:00
Jeremy Gardais b4277a1fe1 first commit 2014-08-17 22:54:05 +02:00