summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <hendrik@securosys.ch>2017-08-15 15:23:03 +0200
committerHendrik Jäger <hendrik@securosys.ch>2017-08-15 15:23:03 +0200
commit7d2f2b579be951da7d3ca1f84c03e5ea514f8c07 (patch)
tree8b2def5cb8484bca697ffdd9c456bec10f818d43
parent6047dfeef8c814f4dba3e4a4d4999373bb300e6c (diff)
Added qemu aliases and taskwarrior functions for completion
-rw-r--r--.zsh_qemu10
-rw-r--r--.zshrc4
2 files changed, 14 insertions, 0 deletions
diff --git a/.zsh_qemu b/.zsh_qemu
new file mode 100644
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 97c32fd..0f3bcb5 100644
--- 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