summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-20 16:16:21 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-20 16:16:21 +0200
commit7af63359f96204d9ac26d7d59260173ee2f03554 (patch)
treef9ba607cf7623e4e5bdc1869237af51451f6fc61
parentDumb update (diff)
downloaddotfiles-bsd-7af63359f96204d9ac26d7d59260173ee2f03554.tar.gz
dotfiles-bsd-7af63359f96204d9ac26d7d59260173ee2f03554.tar.bz2
dotfiles-bsd-7af63359f96204d9ac26d7d59260173ee2f03554.tar.xz
dotfiles-bsd-7af63359f96204d9ac26d7d59260173ee2f03554.tar.zst
dotfiles-bsd-7af63359f96204d9ac26d7d59260173ee2f03554.zip
ZSH expand aliases update
-rw-r--r--.config/zsh/.zshrc14
-rw-r--r--.config/zsh/alias.zsh42
-rw-r--r--.emacs.d/org/elfeed/elfeed.org30
3 files changed, 65 insertions, 21 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index d9812a8..e99b6c6 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -37,5 +37,19 @@ bindkey "^e" edit-command-line
[ -f "$XDG_CONFIG_HOME/zsh/alias.zsh" ] && source $ZDOTDIR/alias.zsh
[ -f "$XDG_CONFIG_HOME/zsh/plugins.zsh" ] && source $ZDOTDIR/plugins.zsh
+globalias() {
+ if [[ $LBUFFER =~ '^[a-z0-9]+$' ]]; then
+ zle _expand_alias
+ zle expand-word
+ fi
+ zle self-insert
+}
+
+zle -N globalias
+
+bindkey -v " " globalias
+bindkey -v "^ " magic-space
+bindkey -M isearch " " magic-space
+
PROMPT="%B%{$fg[red]%}%M %{$fg[blue]%}%c%{$fg[red]%}%%%{$reset_color%} "
RPROMPT="${RPROMPT}"'%{$fg_bold[red]%}%(?..%?)%{$reset_color%} $(gitprompt)'
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index 5ccc521..b8e1cb7 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -1,21 +1,21 @@
-alias ls='/usr/local/bin/exa -l'
-alias c='/usr/bin/clear'
-alias less='/usr/bin/less --tabs 4'
-alias bc='/usr/bin/clear; /usr/bin/bc -l'
-alias emacs='/usr/local/bin/emacs -nw'
-alias mkf='/usr/local/bin/gmake fclean'
-alias mkc='/usr/local/bin/gmake clean'
-alias mk='/usr/local/bin/gmake -j5'
-alias web='/usr/local/bin/w3m https://duckduckgo.com/'
-alias cp='/bin/cp -iv'
-alias mv='/bin/mv -iv'
-alias rm='/bin/rm -v'
-alias ln='/bin/ln -v'
-alias mkdir='/bin/mkdir -v'
-alias rmdir='/bin/rmdir -v'
-alias chmod='/bin/chmod -v'
-alias chown='/usr/sbin/chown -v'
-alias grep='/usr/bin/grep --color'
-alias tree='/usr/local/bin/tree -C'
-alias ccache='/usr/local/bin/ccache'
-alias dotgit='/usr/local/bin/git --git-dir=$HOME/Documents/dotfiles-bsd --work-tree=$HOME'
+alias ls='exa -l'
+alias c='clear'
+alias less='less --tabs 4'
+alias bc='clear; bc -l'
+alias emacs='emacs -nw'
+alias mkf='gmake fclean'
+alias mkc='gmake clean'
+alias mk='gmake -j5'
+alias web='w3m https://duckduckgo.com/'
+alias cp='cp -iv'
+alias mv='mv -iv'
+alias rm='rm -v'
+alias ln='ln -v'
+alias mkdir='mkdir -v'
+alias rmdir='rmdir -v'
+alias chmod='chmod -v'
+alias chown='chown -v'
+alias grep='grep --color'
+alias tree='tree -C'
+alias ccache='ccache'
+alias dotgit='git --git-dir=$HOME/Documents/dotfiles-bsd --work-tree=$HOME'
diff --git a/.emacs.d/org/elfeed/elfeed.org b/.emacs.d/org/elfeed/elfeed.org
index f4ea4ca..8435769 100644
--- a/.emacs.d/org/elfeed/elfeed.org
+++ b/.emacs.d/org/elfeed/elfeed.org
@@ -2,51 +2,81 @@
** News
*** Gentoo :news:
**** https://www.gentoo.org/feeds/news.xml
+
*** FreeBSD :news:
**** https://www.freebsd.org/news/rss.xml
+
*** Haiku :news:
**** https://www.haiku-os.org/index.xml
+
*** Luke Smith :news:
**** https://lukesmith.xyz/rss.xml
+
*** Pragmatic Emacs :news:
**** http://pragmaticemacs.com/feed/
+
*** The Lunduke Show :news:
**** http://vault.lunduke.com/LundukeShowMP3.xml
+
*** TrueAnon :news:
**** http://feeds.soundcloud.com/users/soundcloud:users:672423809/sounds.rss
+
** YouTube :youtube:
*** Tech :tech:
**** Luke Smith
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA
+
+
**** DistroTube
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg
+
+
**** LGR
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCLx053rWZxCiYWsBETgdKrQ
+
+
**** RoboNuggie
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCxwcmRAmBRzZMNS37dCgmHA
+
+
+**** Mental Outlaw
+***** https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA
+
+
*** Gaming :gaming:
**** Grubby
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCCF6pCTGMKdo9r_kFQS-H3Q
+
**** PiG
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC9OluGthYmZo0vsF9IjicFg
+
**** Artosis
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCuOqvRRt9GqyIUVTwSB4Ucg
+
**** LowkoTV
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCZNTsLA6t6bRoj-5QRmqt_w
+
*** Normies :normies:
**** Valek
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCYdyGYM1aoLpAuCxsP86O1g
+
**** Le Raptor
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC_i-uMpN1lEyuoUGDq-dajQ
+
**** MisterJDay
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC2uPHgyyLv2rnkm4CfIgWcw
+
**** Sylvqin
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCseGV3amBLISlIOMQodPfVQ
+
**** Kurzgesagt - In a Nutshell
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCsXVk37bltHxD1rDPwtNM8Q
+
**** h3h3Productions
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCDWIvJwLJsE4LG1Atne2blQ
+
**** El Rayhan
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC1jpJQzugyhkf1HQQwWuUSA
+
**** Kitboga
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCm22FAXZMw1BaWeFszZxUKw