Red Hat config, Kogito completions
This commit is contained in:
4
dot_config/fish/functions/maven-test-method.fish
Normal file
4
dot_config/fish/functions/maven-test-method.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function maven-test-method
|
||||
# mvn "-Dtest=$argv[1]#*$argv[2]*" clean test
|
||||
mvn "-Dtest=$argv[1]#*$argv[2]*" test
|
||||
end
|
||||
10
dot_config/fish/functions/vpn-red-hat.fish
Normal file
10
dot_config/fish/functions/vpn-red-hat.fish
Normal file
@@ -0,0 +1,10 @@
|
||||
function vpn-red-hat
|
||||
if test $argv[1] = 'up'
|
||||
sudo systemctl start NetworkManager.service
|
||||
and sleep 3
|
||||
and nmcli con up id "1 - Red Hat Global VPN" --ask
|
||||
else if test $argv[1] = 'down'
|
||||
nmcli con down id "1 - Red Hat Global VPN"
|
||||
and sudo systemctl stop NetworkManager.service
|
||||
end
|
||||
end
|
||||
@@ -1,5 +1,5 @@
|
||||
function watson-add-fortnite
|
||||
set year_month "2020-06"
|
||||
set year_month "2020-08"
|
||||
set start_time "$year_month-$argv[1] $argv[2]"
|
||||
set end_time "$year_month-$argv[3] $argv[4]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user