mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Update zshrc.d
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if [ -f "`command which nasm 2>/dev/null`" -a -f "`command which objdump 2>/dev/null`" ] ; then
|
||||
if have_command nasm && have_command objdump ; then
|
||||
assemble_shellcode() {
|
||||
if [ -z "$1" ] ; then echo "Usage: $0 <assembly file>" >&2 ; return 1 ; fi
|
||||
local NASM=`command which nasm`
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
if command -v xiwi >/dev/null 2>&1; then
|
||||
function xiwibg {
|
||||
local tmpf=$(mktemp)
|
||||
echo Logging to ${tmpf}
|
||||
nohup xiwi "$@" >!${tmpf} 2>&1 &
|
||||
}
|
||||
fi
|
||||
@@ -25,7 +25,7 @@ fi
|
||||
export GPG_TTY="$(tty)"
|
||||
|
||||
# Setup SSH agent support
|
||||
if grep '^enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
|
||||
if grep -q '^enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
|
||||
# Load required functions.
|
||||
autoload -Uz add-zsh-hook
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
if command -v ipython >/dev/null || command -v ipython3 >/dev/null ; then
|
||||
if have_command ipython || have_command ipython3 ; then
|
||||
export PYTHONSTARTUP="${HOME}/.ipython.py"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user