Setup task, AWS aliases
This commit is contained in:
@@ -71,7 +71,7 @@ set -x HASTE_SERVER https://pste.gq
|
||||
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
|
||||
set -x GOPATH ~/go
|
||||
# set -x PATH $GRAALVM_BIN $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin
|
||||
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin /home/kevin/.linuxbrew/bin ~/.fnm/current/bin
|
||||
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin ~/.linuxbrew/bin ~/.fnm/current/bin ~/.nimble/bin
|
||||
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
|
||||
|
||||
# Java [[[ #
|
||||
@@ -194,12 +194,12 @@ abbr ! "sudo !!"
|
||||
# task [[[ #
|
||||
|
||||
abbr aan "task-anno ''"
|
||||
abbr ae "task-edit"
|
||||
abbr aed "task-edit"
|
||||
abbr adl "task-delete"
|
||||
abbr adn "task-done"
|
||||
abbr adu "task-due"
|
||||
abbr adr "task-due-rm"
|
||||
abbr an "task-next"
|
||||
abbr anx "task-next"
|
||||
abbr anr "task-next-rm"
|
||||
abbr ant "task-notes"
|
||||
abbr apr "task-mod-pri"
|
||||
@@ -208,7 +208,7 @@ abbr aprm "task-mod-pri M"
|
||||
abbr aprn "task-mod-pri ''"
|
||||
abbr aprh "task-mod-pri H"
|
||||
abbr apj "task-mod-proj"
|
||||
abbr asr "task-start"
|
||||
abbr ar "task-start"
|
||||
abbr at "task-mod-tag"
|
||||
abbr atj "task-mod-tag jira"
|
||||
abbr aw "task-wait"
|
||||
@@ -309,6 +309,15 @@ abbr xya "export-pkgs"
|
||||
|
||||
# school [[[ #
|
||||
|
||||
abbr aw "aws ec2"
|
||||
abbr awav "aws-attach-volume"
|
||||
abbr awlv "aws ec2 describe-volumes --query \"sort_by(Volumes, &CreateTime)[*].{ID:VolumeId,Name:Tags[?Key=='Name']|[0].Value,Created:CreateTime}\" --output table"
|
||||
abbr awdtv "aws ec2 detach-volume --volume-id"
|
||||
abbr awdlv "aws ec2 delete-volume --volume-id"
|
||||
abbr awli "aws ec2 describe-instances --query \"sort_by(Reservations[].Instances[], &LaunchTime)[*].[InstanceId, Tags[?Key=='Name'].Value | [0], LaunchTime, InstanceType, State.Name]\" --output table"
|
||||
abbr awsai "aws ec2 start-instances --instance-ids"
|
||||
abbr awsti "aws ec2 stop-instances --instance-ids"
|
||||
|
||||
# ]]] school #
|
||||
|
||||
# ]]] fxn abbr's #
|
||||
@@ -318,3 +327,7 @@ abbr xya "export-pkgs"
|
||||
source /home/kevin/.config/fish/key_abbr.fish > /dev/null
|
||||
cat /home/kevin/.cache/wal/sequences
|
||||
# ~/scripts/xmodmap-custom
|
||||
|
||||
#ssh-add ~/.ssh/ai16z-test.pem > /dev/null
|
||||
# keychain --agents ssh id_rsa
|
||||
#set -Ux SSH_AUTH_SOCK (keychain --eval --agents ssh id_rsa | grep setenv | sed -E 's/setenv (\S+) (\S+);/\2/')
|
||||
|
||||
3
dot_config/fish/functions/aws-attach-volume.fish
Normal file
3
dot_config/fish/functions/aws-attach-volume.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function aws-attach-volume
|
||||
aws ec2 attach-volume --volume-id $argv[1] --instance-id $argv[2] --device /dev/sda1
|
||||
end
|
||||
Reference in New Issue
Block a user