]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/commitdiff
Added qemu aliases and taskwarrior functions for completion
authorHendrik Jäger <hendrik@securosys.ch>
Tue, 15 Aug 2017 13:23:03 +0000 (15:23 +0200)
committerHendrik Jäger <hendrik@securosys.ch>
Tue, 15 Aug 2017 13:23:03 +0000 (15:23 +0200)
.zsh_qemu [new file with mode: 0644]
.zshrc

diff --git a/.zsh_qemu b/.zsh_qemu
new file mode 100644 (file)
index 0000000..2f0c2be
--- /dev/null
+++ b/.zsh_qemu
@@ -0,0 +1,10 @@
+alias q2g_vde="/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 2048 \
+    -nographic \
+    -net nic,vlan=1 \
+    -net vde,vlan=1,sock=/var/run/vde2/vsw0.ctl"
+
+alias q2g_br="/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 2048 \
+    -nographic \
+    -net nic,vlan=0 \
+    -net tap,ifname=tap0,vlan=0,script=no,downscript=no"
+
diff --git a/.zshrc b/.zshrc
index 97c32fd24712305a9fbfd12e23c57ec99af38873..0f3bcb51f4507d404513eeda185be794849ed6db 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -2,11 +2,15 @@ autoload -Uz vcs_info
 autoload -U edit-command-line
 
 . ~/.zsh_comprc
+. ~/.zsh_taskwarrior
+
 . ~/.zsh_functions
 . ~/.zsh_functions_media
 . ~/.zsh_functions_taskwarrior
+
 . ~/.zsh_aliases
 . ~/.zsh_local
+. ~/.zsh_qemu
 
 zle -N zle-line-init
 zle -N zle-keymap-select