diff --git a/common/fish/prompt.fish b/common/fish/prompt.fish index b411614..2186ce5 100644 --- a/common/fish/prompt.fish +++ b/common/fish/prompt.fish @@ -25,6 +25,15 @@ function _maybe_sudo_prefix end end +function _maybe_aws_profile + if set -q AWS_PROFILE && test $AWS_PROFILE = prd + printf " " + set_color -b yellow black + printf " AWS_PROFILE=prd " + set_color -b normal normal + end +end + function _user_and_host if test $argv[1] -eq 0 set_color -b normal blue @@ -101,6 +110,7 @@ function fish_prompt _user_and_host $last_cmd_status _cur_work_dir _maybe_git_summary + _maybe_aws_profile _last_cmd_duration _maybe_jobs_summary _user_prompt diff --git a/common/htop/rc b/common/htop/rc index 8f35857..673c659 100644 --- a/common/htop/rc +++ b/common/htop/rc @@ -1,6 +1,6 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. -htop_version=3.2.0 +htop_version=3.2.1 config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 hide_kernel_threads=1 @@ -37,14 +37,14 @@ column_meter_modes_0=1 1 1 column_meters_1=RightCPUs2 Tasks LoadAverage Uptime column_meter_modes_1=1 2 2 2 tree_view=0 -sort_key=46 +sort_key=47 tree_sort_key=0 sort_direction=-1 tree_sort_direction=1 tree_view_always_by_pid=0 all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command -.sort_key=PERCENT_CPU +.sort_key=PERCENT_MEM .tree_sort_key=PID .tree_view=0 .tree_view_always_by_pid=0