summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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